Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

FCB Microsoft Graph API Auth failures 400 bad request

(0) ShareShare
ReportReport
Posted on by 188

Hey, 

Checking to see if anyone else has had this issue.  We are using D365 Online and every since the functionality that gives visibility to Teams availability has been implemented some of our users have been having issues working in the system. It appears that the system tries to do a separate authentication aside from general access to get teams availability (according to microsoft)  However some of our users get caught in a seemingly never ending auth loop.  Its hard to pin down when exactly it starts to do this. Making live troubleshooting an issue. 

There is a work around to append "&flags=FCB.MicrosoftGraphApi=false" to the end of the URL however we certainly want to fix this.  According to Microsoft, "This is by design"...    

One of the last users that did that I was able to look at the network traffic and seen a 400 bad request that triggered the auth loop.  The user has tried every browser they have and gets the same results. 

  • Verified answer
    Jerett Crumbley Profile Picture
    Jerett Crumbley 188 on at
    FCB Microsoft Graph API Auth failures 400 bad request
    After a bunch of discussions with Microsoft on this issue. Basically what was going on is every time  your client needs to get the teams presence it forces authentication through to teams instead of caching the authentication token.  Our policy from a securance perspective is to force MFA on all this traffic which halts this process and forces a new log in and MFA.  Which is fine... if it only happens once then Dynamics should store the auth token for a set time period.  However it doesn't. Because we cannot relax those network policies we were forced to shut down this this "feature".  Hopefully Microsoft will more wisely consider how to handle this integration.
  • nickmanny Profile Picture
    nickmanny 136 on at
    RE: FCB Microsoft Graph API Auth failures 400 bad request

    The HTTP Error 400, commonly known as "Bad Request," indicates that the server was unable to process the client's request due to malformed syntax or invalid parameters. This error occurs when the server cannot understand or interpret the request sent by the client. It may be caused by various factors, such as missing or incorrect headers, improperly formatted URLs, or invalid data in the request payload. To resolve this error, it is essential to carefully review and validate the request parameters, ensuring that they comply with the expected syntax and standards defined by the server. Additionally, verifying the compatibility of the client and server versions, encoding special characters correctly, and using appropriate HTTP methods can help prevent or rectify the occurrence of the 400 Bad Request HTTP Error.

    Expired Client Certificate

    This issue typically happens for a 2-Way TLS, when the certificate sent by the client is expired. In a 2-way TLS, both client and server exchange their public certificates to accomplish the handshake. The client validates the server certificate and the server validates the client certificate. During the TLS handshake if it is found that the client certificate is expired, then the server will send 400 - Bad request with the message “The SSL certificate error”. The solution for this problem is that procure a new certificate and upload the certificate

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans