1. Start PowerShell with administrator privileges, open Task Manager, and select File -> Run new task:
2. Type in “powershell” and check the checkbox highlighted:
3. Run this command in PowerShell:
(Note: the script will check to make sure you have the proper PowerShell modules installed and will ask you to log in. Use the tenant’s credentials that have admin rights, or else the script will fail.)
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/akoyago/public/main/scripts/implementation/bco-imp-install-spn.ps1'))
(continued on next page)
The script will look like this when run and completed successfully:
3. When the script is done, it will say “Done.”
Copy and paste the URL (noted in red) in a browser that is logged into the tenant to grant consent. The URL will be automatically generated for each tenant.
If done correctly, you will see this consent dialog:
When consent is granted, the browser will redirect to the akoyaGO home page.
Setting Up the BCO akoyaGO Integration Dynamics S2S/Application User
1. Navigate Power Platform admin center environments: https://admin.powerplatform.microsoft.com/environments, then click into your Dynamics environment.
Click See all from the environment page.
2. Click + New app user.
3. Click + Add an app.
(continued on next page)
4. Search for and select App ID: a86b9632-42bf-4dfe-83c8-bbc95145504b.
5. Click Add to close the dialog box.
Select your appropriate Business unit.
Click the Security roles pencil :
Then select the System Administrator security role and click Save.
(continued on next page)
6. When complete, it should look like this:
7. Click Create and wait for the process to finish.
When complete, you should see an Application User that appears like this:
You are finished with setting up the BCO akoyaGO Integration Dynamics S2S/Application user.