Select to view content in your preferred language

Empty redirect_uri when authenticating to Microsoft Azure AD B2C using Custom connection type

112
0
2 weeks ago
Labels (1)
RyszardSikora
New Contributor

Hello!

I'm trying to create a connection with Microsoft Azure AD B2C from ArcGIS Pro desktop application. I'm not using "Microsoft Entra ID" connection type as this a different product and it's not working. However, when trying to use "Custom" connection type I'm getting the following error in the ArcGIS App:

 

AADB2C90006: The redirect URI '' provided in the request is not registered for the client id '288cbb6e-6e8f-44fd-93d7-8408ffd93c4b'.
Correlation ID: bf09c11b-6300-42a6-8951-741d52556d37
Timestamp: 2025-04-25 08:47:43Z

 

 I've ensured the redirect Url is set correctly in the Azure AD B2C and that it is not the reason for this error. So I've decided to check what is the request that ArcGIS Pro is making. And this is what I found using Fiddler:

GET /StagingAimsEnableMyTeam.onmicrosoft.com/B2C_1A_CommonSignIn/oauth2/v2.0/authorize?prompt=login&response_type=code&redirect_uri=&scope=offline_access%20openid&client_id=288cbb6e-6e8f-44fd-93d7-8408ffd93c4b&code_challenge_method=S256&code_challenge=iGCIn1-66ep6K6zxe4Lpzvtanl_KNdKOJCf8XDCVZQs

 

Please note the redirect_uri is empty!

Why is the redirect_uri empty? How can I change that? The Edit Connection window does not allow to specify a redirect_uri.  Please note that according to the RFC6749 redirect_uri must be registered and must exactly match.

Thank you for your help!

0 Kudos
0 Replies