Teams API權限設定問題

Chiang.Joney 江家禎 IEC1 1 Reputation point
2022-05-12T03:11:12.24+00:00

201228-teams-mail-foroaslink-api%E6%AC%8A%E9%99%90.jpg

Teams Mail ForOASlink API權限如何設定!

Microsoft Teams | Development
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Chiang.Joney 江家禎 IEC1 1 Reputation point
    2022-05-13T03:10:55.097+00:00

    Teams API权限需管理员开通問題,開發者提供資訊如下:

    目前问题如下,请了解
    1.Teams上相关应用开发,如能开通Teams管理员权限将方便后续开发,请看下是否方便开通
    2.Teams接口调用,例如向Terms发送消息等功能,需要O365管理员授予相关权限,这项请管理员试下登录以下网站能否进行授权开通
    https://login.microsoftonline.com/common/adminconsent?client_id=dff48006-b010-4859-b5d5-68acdb821322&state=12345&redirect_uri=https://developer.microsoft.com/en-us/graph/
    调用接口需要先注册应用程序,在申请API权限时,大部分权限都需要管理员授权,具体界面如下,请参考!


  2. CarlZhao-MSFT 46,376 Reputation points
    2022-05-13T09:27:51.113+00:00

    Hi @Chiang.Joney 江家禎 IEC1

    You cannot grant admin consent means you do not have the admin role. To grant admin consent to your permissions just run the admin consent URL in the browser, then log in with admin and consent.

    https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id={client-id}  
    

    201640-image.png

    201744-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Chiang.Joney 江家禎 IEC1 1 Reputation point
    2022-05-17T02:52:35.297+00:00

    目前我們需要設定Teams API開發權限,可以讓我們知道如何設定?最主要我們不希望提供Teams管理權限給其他人!

    At present, we need to set the Teams API development permission, can you let us know how to set it? The most important thing is that we do not want to provide Teams management permissions to others!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.