Problem
When your D365FO is in Azure and you want to setup your device configuration file, then a few extra informations is required.
Solution
In the configuration 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:
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.
serviceName => "MobService"
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.
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 application 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