question

ChiangJoneyIEC1-9149 avatar image
0 Votes"
ChiangJoneyIEC1-9149 asked ChiangJoneyIEC1-9149 commented

Teams API權限設定問題

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




Teams Mail ForOASlink API權限如何設定!

office-teams-windows-itprooffice-teams-app-devmicrosoft-graph-applications
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ChiangJoneyIEC1-9149,

As we are mainly responsible for general question of Microsoft Teams, your question related to Teams API development not supported by us. So I will also add office-teams-app-dev tag to your thread. Thanks for your understanding and patience!

0 Votes 0 ·

Could you please provide more details what exactly issue you are facing?

0 Votes 0 ·
ChiangJoneyIEC1-9149 avatar image
0 Votes"
ChiangJoneyIEC1-9149 answered Prasad-MSFT commented

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权限时,大部分权限都需要管理员授权,具体界面如下,请参考!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The translated content seems like this, which doesn't make any sense. Could you be please clear what exactly your issue is?

 The materials provided by the miners and the interrogation are as follows
    
 The current problem is still like the person below, please let me know about it
 If you can open the water communication smoothly
 According to functions such as sending messages to Riwei, the application of migrant workers to grant relevant permissions, this item please administrator login below the following login to make it possible to arrange permissions
 https://login.microsoftonline.com/common/adminconsent?client_id=dff48006-b010-4859-b5d5-68acdb821322&state=12345&redirect_uri=https://developer.microsoft.com/en-us/graph/
 Calling the interface requires registering the application first, when applying for Xiao He's permission, most of the military needs to be granted authority by the management personnel within the temporary deployment range, if the surface is drawn into a road, please refer to it.


0 Votes 0 ·
CarlZhao-MSFT avatar image
0 Votes"
CarlZhao-MSFT answered CarlZhao-MSFT commented

Hi @ChiangJoneyIEC1-9149

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.



image.png (97.6 KiB)
image.png (5.0 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ChiangJoneyIEC1-9149 Would you please provide us with an update on the status of your issue?

0 Votes 0 ·
ChiangJoneyIEC1-9149 avatar image
0 Votes"
ChiangJoneyIEC1-9149 answered ChiangJoneyIEC1-9149 commented

目前我們需要設定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!

· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ChiangJoneyIEC1-9149 You mean you want to grant teams admin role to some users?

0 Votes 0 ·

我的意思是設定某user有Teams API開發權限

What I mean is to set a user to have Teams API development permission

0 Votes 0 ·
CarlZhao-MSFT avatar image CarlZhao-MSFT ChiangJoneyIEC1-9149 ·

@ChiangJoneyIEC1-9149 You can restrict your Azure AD app to a set of users in an Azure AD tenant, then only that user can log in to your app to call graph api. Users who are not assigned will not be able to log in to the app. https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-restrict-your-app-to-a-set-of-users

0 Votes 0 ·
CarlZhao-MSFT avatar image CarlZhao-MSFT ChiangJoneyIEC1-9149 ·

Hi @ChiangJoneyIEC1-9149, has the issue been solved?

0 Votes 0 ·
Show more comments