This applies to the following Azure error:
"Application '{appId}'({appName}) is not configured as a multi-tenant application.
Usage of the /common endpoint is not supported for such applications created after '{time}'.
Use a tenant-specific endpoint or configure the application to be multi-tenant."
This error indicates that your Azure app may not be configured correctly. We recommend creating a new Azure app.
When creating the app, please pay close attention to this specific step documented at this link: https://developer.nylas.com/docs/the-basics/provider-guides/microsoft/create-azure-app/#new-app-registration
Make sure to select the second option "Account in any organizational directory" as shown in the image in that link to prevent this error from occurring again. The default option for new Azure apps is the Single Tenant option, which will throw the error you encountered. We recommend creating a new Azure app because some customers have reported that they are unable to switch existing Azure apps over to multi-tenant and needed to create a new Azure app to resolve this issue.
Switching Nylas to use a different Azure app will not affect any existing Nylas accounts, only new authentications moving forward.
How to switch applications to multitenant
If you still wish to switch your application to multitenant then follow the steps below:
- Go to Azure Active Directory -> App registrations and find your application under
Owned applications
- Click on Authentication -> Supported account types
- Select
Accounts in any organizational directory (Any Azure AD directory - Multitenant)
and save.
Updated
Comments
0 comments
Please sign in to leave a comment.