From v3.46 we will release the Hub. For now this will include announcements. Click here for more information.
Hi ,
Welcome to the Support Portal. How can we help?
Follow

Step 2. Create a scope and authorize the client application

Table of Contents

 

Introduction

Under your Workspace SSO app registration in Azure AD, create a scope defined by this API and authorize the client application. 

 

Step 2. Create a scope defined by this API and authorize the client application

  • Under Manage, select Expose an API.
  • Select Add a scope. In the panel that opens, enter access_as_user as the Scope name.
    • In the Who can consent? box, enter Admins and users.
    • Enter the details in the boxes for configuring the admin and user consent prompts with values that are appropriate for the access_as_user scope:
      • Admin consent display name: Teams can access the user’s profile.
      • Admin consent description: Teams can call the app’s web APIs as the current user.
      • User consent display name: Teams can access your profile and make requests on your behalf.
      • User consent description: Teams can call this app’s APIs with the same rights as you have.

add_scope2.PNG

    • Ensure that State is set to Enabled.
    • Select Add scope to save the details.
  • In the Authorized client applications section, identify the applications that you want to authorize for your app’s web application.
    • Select Add a client application.
    • Enter each of the following client IDs and select the authorized scope you created in the previous step:
      • 1fec8e78-bce4-4aaf-ab1b-5451cc387264 (for Teams mobile or desktop application).
      • 5e3ce6c0-2b1f-4285-8d4b-75ee78787346 (for Teams web application).

add_client_app2.PNG

  • Select Add application.

Back to top

 

Proceed to step 3