Set the "initialRun" property to "true" for search commands in Messaging Extension (Copilot) to enable the OAuth sign-in link in the plugin section #11199
Labels
doc-enhancement
If feedback is about suggested improvements/additions, but no evidence customer was blocked.
Type of issue
Missing information
Feedback
For Messaging Extension (Copilot plugin) oAuth, user will see a "sign-in" text just below the appInfo (as shown below)
![image](https://private-user-images.githubusercontent.com/161592567/345407298-61ab32c8-c4ab-464f-866e-002fb5f37aa6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzY5NzQsIm5iZiI6MTcyMDU3NjY3NCwicGF0aCI6Ii8xNjE1OTI1NjcvMzQ1NDA3Mjk4LTYxYWIzMmM4LWM0YWItNDY0Zi04NjZlLTAwMmZiNWYzN2FhNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwMTU3NTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYjZiZjZmYjUyODIyM2EyMmNlOGQ3MmIxZDM2NTBiMzgwNmM0YjZhNjlkZWQwZTAyMmUxNTRkNzFmOWZjZTFmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.PLBPaOsO4fTXOlcpQYxjGVsRpbscFDzZqR-q0puVcMo)
For AAD SSO, auth will happen silently and user will only see "Sign in" text if consent is needed or SSO fails for any reason.
To trigger the sign-in popup upon enabling the plugin (or) display the sign-in link next to the plugin name, developers need to set the 'initialRun' property to 'true' for search commands in the manifest in order to enable the OAuth sign-in link in the plugin section. However, this detail is not mentioned anywhere in the documentation. Could you please verify and update the document accordingly.
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/high-quality-message-extension?tabs=tasks
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/messaging-extensions/high-quality-message-extension.md
Author
@v-preethah
Document Id
1d9e7d3e-f334-2862-3e44-e4db9d1a4fb3
The text was updated successfully, but these errors were encountered: