अपना फ़ीडबैक साझा करें:
हम Microsoft Teams डेवलपर दस्तावेज़ों पर आपकी प्रतिक्रिया चाहते हैं। कृपया हमारे छोटे तीन-प्रश्न सर्वेक्षण का उत्तर दें।सर्वेक्षण करें
यह ब्राउज़र अब समर्थित नहीं है.
नवीनतम सुविधाओं, सुरक्षा अपडेट और तकनीकी सहायता का लाभ लेने के लिए Microsoft Edge में अपग्रेड करें.
You've registered your tab app in Microsoft Entra ID, and obtained an app ID. You've also configured your code to call getAuthToken() and handle the access token. Now, you must update the app manifest to enable SSO for your tab app. The app manifest describes how an app integrates into Teams.
webApplicationInfo property
Configure the webApplicationInfo property in the app manifest file. This property enables SSO for your app to help app users access your tab app seamlessly.
webApplicationInfo has two elements, id and resource.
Element
Description
id
Enter the app ID (GUID) that you created in Microsoft Entra ID.
resource
Enter your app's subdomain URI and the application ID URI that you created in Microsoft Entra ID when creating scope. You can copy it from the Microsoft Entra ID > Expose an API section.
नोट
Use the app manifest version 1.5 or later to implement the webApplicationInfo property.
The application ID URI that you registered in Microsoft Entra ID is configured with the scope of the API you exposed. Configure your app's subdomain URI in resource to ensure that the authentication request using getAuthToken() is from the domain given in the app manifest.
During debug, you can use ngrok to test your app in Microsoft Entra ID. In that case, you need to replace the subdomain in api://subdomain.example.com/00000000-0000-0000-0000-000000000000 with the ngrok URL. You'll need to update the URL whenever your ngrok subdomain changes. For example, api://23c3-103-50-148-128.ngrok.io/bccfbe67-e08b-4ec1-a7fd-e0aaf41a097c.
Upload a custom app and preview in Teams
You've configured the tab app to enable SSO in Microsoft Entra ID, in app code, and in the app manifest file. You can now upload your custom tab app in Teams, and preview it in Teams environment.
To preview your tab app in Teams:
Create an app package.
The app package is a zip file that contains the app manifest file and app icons.
Open Teams.
Select Apps > Manage your apps > Upload an app.
The options to upload an app appear.
Select Upload a custom app to upload the custom tab app to Teams.
Select your app package zip file, and then select Add.
Your custom tab app is uploaded and the dialog appears to inform you of the additional permissions that might be required.
Select Continue.
The Microsoft Entra consent dialog appears.
Select Accept to give consent for open-id scopes.
Teams opens the tab app and you can use it.
Congratulations! You've enabled SSO for your tab app.
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.
Platform Docs प्रतिक्रिया
Platform Docs एक ओपन सोर्स प्रोजेक्ट है. प्रतिक्रिया प्रदान करने के लिए लिंक का चयन करें:
पहचान समाधानों को आधुनिक बनाने, हाइब्रिड समाधानों को कार्यान्वित करने और पहचान संचालन कार्यान्वित करने के लिए Microsoft Entra ID की सुविधाओं का प्रदर्शन करें.
Learn how to configure API permissions and authentication for different platforms, and get access token with Microsoft Graph to enable single sign-on (SSO).