Forum Discussion
Azure Bot Message Extension auth open url -> Something went wrong, please try again
I have a message extension bot setup where you have to authenticate before you can use it. This has always worked previously but since a few days ago, when I click the sign in button sent from the compose extension I just get Something went wrong, please try again. No pop up opens, no logs, no other error.
This worked previously fine. I have the url that opens in the valid domains and this is what I return to the azure bot
return {
composeExtension: {
type: 'auth',
suggestedActions: {
actions: [
{
type: 'openUrl',
value: ${signInUrl},
title: Sign In Required,
},
],
},
},
};
- Sayali-MSFTMicrosoftEmma-S99- Thanks for reporting your issue.
We will check this at our end and will get back to you. - Sayali-MSFTMicrosoft
Emma-S99 -We have tried the above scenario; it is working fine from our end.
Could you please try with the below deployed manifest and check it once from your end.
Microsoft Teams Version 1.6.00.30765 (64-bit)
[msgext-search-auth-config.zip](https://github.com/MicrosoftDocs/msteams-docs/files/13264883/msgext-search-auth-config.zip)
Sample to refer-Microsoft-Teams-Samples/samples/msgext-search-auth-config/csharp at main · OfficeDev/Microsoft-Teams-Samples (github.com)- Emma-S99Copper Contributor
Sayali-MSFT Hi, the example you provided has worked my end but it is not the same setup that I have.
When I open my message extension, if a user is not logged it it will show them the sign in button, not allowing them to access anything else
When I click sign in, instead of a popup showing I get
The only difference between the manifest provided and my own are the additional compose extensions defined, but I believe I do not need to define one for the sign in button.
I am also using microsoft teams classic on macos- Nivedipa-MSFTMicrosoftEmma-S99 - Could you please check your bot configuration settings and network connection?