Skip to content

Commit 421c0ad

Browse files
authored
Merge pull request #98255 from mrmueller/patch-1
use powershell to encode bearer token
2 parents d42e568 + 26c7f54 commit 421c0ad

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/active-directory/saas-apps/infor-cloudsuite-provisioning-tutorial.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ Before configuring and enabling automatic user provisioning, you should decide w
6868
5. To generate the bearer token, copy the **User Identifier** and **SCIM Password**. Paste them in notepad++ separated by a colon. Encode the string value by navigating to **Plugins > MIME Tools > Basic64 Encode**.
6969

7070
:::image type="content" source="media/infor-cloudsuite-provisioning-tutorial/token.png" alt-text="Screenshot of a Notepad++ document. In the Plugins menu, MIME tools is highlighted. In the MIME tools menu, Base64 encode is highlighted." border="false":::
71+
72+
To generate the bearer token using PowerShell instead of Notepad++, use the following commands:
73+
```powershell
74+
$Identifier = "<User Identifier>"
75+
$SCIMPassword = "<SCIM Password>"
76+
$bytes = [System.Text.Encoding]::UTF8.GetBytes($($Identifier):$($SCIMPassword))
77+
[Convert]::ToBase64String($bytes)
78+
```
7179

7280
3. Copy the bearer token. This value will be entered in the Secret Token field in the Provisioning tab of your Infor CloudSuite application in the Azure portal.
7381

0 commit comments

Comments
 (0)