Error in API Authentication via Microsoft Azure

Hi,

I’m trying to authenticate my Microsoft Azure Single-Tenant application with Bubble.io through the API Connector but I’m getting the following error in the Bubble.io app;

I also leave my settings in the Bubble.io API Connector plugin;

How can I resolve this error?

Are you sure that userPrincipalName return emai? Why not to use mail instead?

From what I see on the first screenshot however, the issue is before that. you have an error description code in the url (and probably more information after that related to the error), this should help to find the issue.

I can’t tell you if “userPrincipalName” returns the email, is there any way we can check this?

Here is the rest of the URL that displays the error: version-test?debug_mode=true&error=invalid_request&error_description=AADSTS50194%3A%20Application%20%270e5c4091-0c0f-4c01-8f48-24aba7a0e67e%27(App%20Bubble)%20is%20not%20configured%20as%20a%20multi-tenant%20application.%20Usage%20of%20the%20%2Fcommon%20endpoint%20is%20not%20supported%20for%20such%20applications%20created%20after%20%2710%2F15%2F2018%27.%20Use%20a%20tenant-specific%20endpoint%20or%20configure%20the%20application%20to%20be%20multi-tenant.%20Trace%20ID%3A%20f1eb389c-8c70-40bc-b764-2996e8702400%20Correlation%20ID%3A%205bd2c3f6-50bd-4fe1-bb3f-6756f80adba5%20Timestamp%3A%202024-11-07%2000%3A23%3A24Z

Decoded
AADSTS50194: Application '0e5c4091-0c0f-4c01-8f48-24aba7a0e67e'(App Bubble) 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. Trace ID: f1eb389c-8c70-40bc-b764-2996e8702400 Correlation ID: 5bd2c3f6-50bd-4fe1-bb3f-6756f80adba5 Timestamp: 2024-11-07 00:23:24Z

1 Like

Thank you for giving me some guidance to solve this problem, after consulting “Stack OverFlow” at this link: "Use a tenant-specific endpoint or configure the application to be multi-tenant" when signing into my Azure website - Stack Overflow

I was able to solve the problem by entering my Azure Tenant ID.

Thank you again!!!

1 Like