Skip to content

Setup checklist and troubleshooting

  • The app registration is in the right Microsoft Entra tenant, the same one as the Business Central environment.
  • The app is named Xago Calendar, or has another clear name.
  • Supported account types is Accounts in this organizational directory only.
  • The platform Mobile and desktop applications is added.
  • http://127.0.0.1 is registered as a redirect URI.
  • http://localhost:8080/callback is registered as a redirect URI.
  • No client secret has been created.

If http://127.0.0.1 cannot be added through the portal, add it through the manifest as described under If the portal rejects http://127.0.0.1.

  • Dynamics 365 Business Central → Delegated → user_impersonation
  • Microsoft Graph → Delegated → openid
  • Microsoft Graph → Delegated → offline_access
  • Microsoft Graph → Delegated → profile
  • Microsoft Graph → Delegated → User.Read
  • The Application (client) ID is entered in Business Central through Xago Users.
  • The users have the appropriate Business Central permissions.
Problem What to check
Sign-in shows a redirect URI error Compare the URI in the error message with the Authentication settings of the app registration. Protocol, host name, port, path and any trailing slash must match exactly.
Business Central is not in the API list Search for Dynamics 365 Business Central under APIs my organization uses. Also check that you are in the right tenant.
A permission is missing consent Follow your tenant’s routine for admin consent. The organisation’s policy may prevent ordinary users from consenting.
The wrong ID was entered in Business Central Use the Application (client) ID from Overview. The Object ID and the Directory (tenant) ID are other identifiers.

For anything else, contact support@xago.no.