Upon setting up an OpenAI app for Authentication via Microsoft App Registration , the user would sucessfully Auth then go back to the call back URL https://[myAzureFunction]/.auth/login/aad/callback with the following Error
After much Diagnostics turns out the provider had given me the wrong Secret Value for the App Registration. Fixing the Secret fixed this