Error: AADSTS50194 Application [application_name] is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.
Apply either of the below recommendations:
Approach #1:
- Configure the application to be multi-tenant.
Approach #2:
- Set a value for the Tenant parameter of the Microsoft365 activity from UiPath
- Some organizations do not want to provide multi-tenant access due to some security risks. In that case, keep it as single tenant. But provide tenant id in Microsoft Office 365 Scope activity.
Note:
- If the workflow runs properly, remove the tenant id and it may work with out issues irrespective of single tenant or multi-tenant
- This can occur because of tokens getting cached. This is the normal behavior. The cache actually contains the token.
- If a token is not present, it is required to authenticate all the time, and time will be lost during the automation. Delete the cache from its storage location. For more information on that, follow this article: How To Manage The Authentication Tokens Generated By Microsoft Office 365 Activities .
- The token comes with an expiration date. Deleting the cache does not invalidate the token. To change the token cache policy, do that in Azure by changing the expiration time.
Read more about the options on the Microsoft documentation page.