question

KhoaPhan-9344 avatar image
0 Votes"
KhoaPhan-9344 asked MohammedMehtabSiddiqueMINDTREELIMI-9821 commented

Connection refused for URI https://login.microsoftonline.com on Azure Server

Dear,

My application used Microsoft Graph for Authentication. The workflow here.

(1)Access to application -> (2)Redirect to Microsoft Login -> [Login success] -> (2)Redirect to my application with code parameter.

Step (1) and (2) It's working when my IT add 3 URLs to whitelist for Azure Server:

https://aadcdn.msauth.net

https://aadcdn.msftauth.net

https://login.microsoftonline.com/

But in step (3), I cannot received parameter from https://login.microsoftonline.com/ , It's appear "Connection refused for URI https://login.microsoftonline.com/telnatid//oauth2/v2.0/token"
189617-image.png
Could you please advise me for any configuration in Azure?

Thanks,

Khoa Phan


windows-servermicrosoft-graph-sdk
image.png (80.8 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Dear @CarlZhao-MSFT,

Application is working ok, when I add proxy for request and respond https://login.microsoftonline.com/. But my IT not recommend use proxy server because this server migrated in Azure server, will open anything I want. But, nobody find root cause why Connection refused for URI.

Thanks CarlZhao

0 Votes 0 ·

Hi @KhoaPhan-9344 , Thanks for reaching out, can you please repro this issue and get us the details of the query and Request ID, client ID and timestamp of so that we can check the Logs from backend and see what is the issue.

0 Votes 0 ·

0 Answers