UvA-FNWI / M365-IMAP

MIT License
70 stars 17 forks source link

pass tenant ID to msal #9

Closed benmont closed 2 years ago

benmont commented 2 years ago

When attempting to get a token, M365 returned the following message:

Message: AADSTS50194: Application [my application registration] is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '[date]'. Use a tenant-specific endpoint or configure the application to be multi-tenant.

This pull request includes changes to pass through tenant ID for M365 configurations that do not allow multi-tenant authentication.