Issue arises if this application is disabled in Azure Active Directory (AAD).
The resolution is to re-enable the application.
To do this perform the following steps:
- Go to azure portal (portal.azure.com) and log in as an admin.
- Select Azure Active Directory > Enterprise Applications
- Select application type as "All Applications", click Apply, then use the search box to search for your application id, which is what's in quotes in the original error, e.g. "AADSTS7000112: Application '<APPLICATION ID>' is disabled."
00000015-0000-0000-c000-000000000000 is the application Id for this issue. - The Application has the name "Microsoft Dynamics ERP" for the above Application Id
- Click to select the application (there should be only 1 result)
- Alternatively, you can try filtering the All Applications list for Applications with the Status = Disabled, that should allow you find it by then scrolling the list of disabled Applicaitons to find it visually.
- Once located, click on it in the list to bring it up in the main window.
- Then select Properties on left hand side menu, and change the property "Enabled for users to sign-in?" to Yes (from No) and hit Save.
- Try authenticating again, it should now work ok