[FIXED] Problem with Linking to Azure App

HI,
I’ve followed the doc for creating an Azure App Registration and linking my Anvil app to it.
When I call anvil.microsoft.auth.login() and click Log In, a popup appears momentarily, then I get an error message in the Anvil output.

Exception: FAILED TO GET ACCESS TOKEN: {“error”:“invalid_request”,“error_description”:"AADSTS900144: The request body must contain the following parameter: ‘client_id’.

Has anyone else run into this? Any suggestions?

Hello @tcarter and welcome to the forum,

Just to clarify - this is the docs you’re referring to right?

https://anvil.works/docs/integrations/microsoft/linking-azure-and-anvil

And the failure came when you did the last part: Test that it works?

There’s also this tutorial which might help:

Hi @tcarter,

I can confirm that this is (was) a temporary outage in our Microsoft authentication service. It should now be resolved - can you try again?

(I’ve moved this thread to Bug Reports)

1 Like

It must have been related to the outage. Just tried again and it’s working now.
Thanks for the responses!