Problem
When your D365FO is in Azure and you want to setup your device START.CFG file, then a few extra informations is required.
Solution
In the START.CFG file the section 'Endpoints' specifies:
- endpoint id
- displayName
- type
- companyName
- address
But for Azure a few extra informations is required.
- azureConfiguration authority
- serviceName
- clientId
- returnUri
You can find the informations here:
1) azureConfiguration authority =>
"https://login.microsoftonline.com/YourTennantId/oauth2/authorize"
Your tennant ID is found here: Azure active directory/Manage/App registrations (Preview)/ select correct name and click on it. Here you will find the tennant ID.
2) serviceName =>
"MobService"
3) clientId =>
Your client ID is found here: Azure active directory/Manage/App registrations/ select correct name and click on it. Here you will find the application ID.
4) returnUri =>
Azure active directory/Manage/App registrations/ click 'Redirect URIs'/select the URI with oauth at the end.
The final thing is to update the START.CFG file.
<endpoints>
<endpoint id="D365FO" displayName="D365FO" type="D365FO" protocol="classic" companyName="LegalEntity" address="https://YourUriAddress">
<azureConfiguration authority="https://login.microsoftonline.com/YourTennantId/oauth2/authorize" serviceName="MobService" clientId="YourApplicationId" returnUri="https://YourUriAddress/oauth"/>
</endpoint>
</endpoints>
Related articles