Log into https://portal.azure.com using an administrator user associated with the D365FO environment you are maintaining.
After logging into https://portal.azure.com navigate to “Azure Active Directory” -> “App registrations”:
Click “New registration”:
To create a new application registration, you need to fill in the name field, make sure to select “public client (mobile and desctop)” and enter the URL to your environment. Copy the link: https://YourLink-devaos.cloudax.dynamics.com/
This can also be found from your LCS.
Under the Redirect URI choose “Public Client (mobile & desktop)” and enter your URL