[Microsoft Graph Connector] 404 - File or directory not found

Forge Component
(1)
Published on 26 Mar by Daniel Filipe
1 vote
Published on 26 Mar by Daniel Filipe

I am trying to run this forge component. After configuring in Azure I receive the error message 404 - File or directory not found.  I checked and there is no callback available in MicrosoftGraphSample.

I am adding the screens to use as reference to see where is my problem.

Someone can help me ?

Hello Luciano,


The 404 can come from any on of the service calls.

Did you configure all the site properties needed ? 

What do the platform logs tell you ? 


Best Regards,

Miguel Amado

Hi Miguel,

    after solving the problems of configuration there is no error in the log. The configuration and access to Microsoft is configured and it seems it worked well. The problem is after authentication.  I added the MicrosoftLoginConnector/Callback.aspx and checked that the callback is there, but for some reason OS says that there is not this url... weird.

Follow the log.  Any idea ?

 

Best regards

Luciano Schiavo

After debugging I realized that the problem could be the size of parameters delivered by Azure.  When I cut part of the code parameter the page hits the callback and follow the flow.  Someone knows how to solve this ?  Below an adjusted url to give an idea of the size of parameter transferred.

https://myenvironment.com/MicrosoftLoginConnector/Callback.aspx?code=AQABAAIAAAAP0wLlqdLVToOpA4kwzSnx3XiKx098hTtEyGlaVEgG7wAQbWJ1IlXaTbsOhkllNMNKaFZczauLfPgiHHFZyer7GQawBh0-sR7NB46V6BS2nKgQKIb-pB4bSJfuwjDQH4e8vRsPSUaDlsozlG3jY0-VEKEh4_3t7kfCHMTpxWoVehuil43zBQNTRTQJ-PoBBpnyrxlKtZQEa4WkDAih3zm1GuhcAOTXXmVcJeGLcLxJ6OEx6hvPqibtj3-NbyLGKfsNVpWD8K3qK8zNeoo2GRbdZFBARzGJ07PgtBGl33Pfttoyj7nv6YbPGlyi-0DcGArU1yuG7D-O0SLEUI_3DnK7ufkMiwuQhn0_Q9pZm5v0dS5OO55WH0HjfRtMISlqDh0MsRqfqBn5Whgbk-OZKjjZJNZAegp1ArU01EbV1hFTtAaEX-0pzYqqcl7wKMgxODhI1Lu26nkxZTGAdrrM7LpiBoxdRyTSqqFv5_JF8AwGnskNRfmqT-xDXxRKrdlD7m_krYn3HPcnO0Q3z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