msgraph-sample-phpapp
msgraph-sample-phpapp copied to clipboard
AADSTS50194: Application '3b79e557-4d51-4b78-a1b0-82f9dd'(Testing for mail read) 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-
AADSTS50194: Application '3b79e557-4d51-4b78-a1b0-82f9dd'(Testing for mail read) 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.
You registered your application to only allow users in your tenant. You need to either:
-
Change your app registration to allow "Accounts in any organizational directory and personal Microsoft accounts."
-
Update this line in .env, replacing
commonwith your tenant ID.https://github.com/microsoftgraph/msgraph-sample-phpapp/blob/c82afc94f04b5e3d88531d84bef6286206dddb61/graph-tutorial/example.env#L64