Microsoft Teams
Her Microsoft Teams eylemi için minimum OAuth kapsamlarını inceleyin.
Review minimum OAuth scopes for Microsoft Teams actions and the impact of Sites.Selected on channel attachments.
Her Microsoft Teams eylemi için minimum standart temsil edilen (delegated) kapsam eşlemesini inceleyin. Eşleme şunları kapsar: ekipler, kanallar, sohbetler, mesajlar ve üyeler.
Actions that handle channel and chat attachments require
Files.ReadWrite.All. While sending and reading message text functions without this scope, attachment handling will fail unlessFiles.ReadWrite.Allis granted.
Eylem başına minimum kapsamlar
Her Microsoft Teams bağlantısı ayrıca
openid,offline_accessveUser.Readister.
Eylem Açıklama Minimum kapsamlar
Find chat a chat bulur. Chat.ReadWrite
Get channel message a channel message and its ekler alır. ChannelMessage.Read.AllFiles.ReadWrite.All
Get channel messages channel mesajlar and their ekler alır. ChannelMessage.Read.AllFiles.ReadWrite.All
Get chat messages chat mesajlar and their ekler alır. Chat.ReadWriteFiles.ReadWrite.All
Get meeting transcript a meeting transcript alır. Calendars.ReadWriteOnlineMeetings.ReadOnlineMeetingTranscript.Read.All
List all channels channels listeler. Channel.ReadBasic.All
List all chats chats listeler. Chat.Read
List all teams teams listeler. Team.ReadBasic.All
List all users in channel users in bir kanal listeler. ChannelMember.Read.All
List all users in chat users in a chat listeler. Chat.Read
List online meetings online meetings listeler. Calendars.ReadWrite
Reply to channel message a channel message and can include ekler yanıtlar. Channel.ReadBasic.AllChannelMember.Read.AllChannelMessage.SendFiles.ReadWrite.All
Resolve channel Resolves a channel. Channel.ReadBasic.AllTeam.ReadBasic.All
Resolve chat Resolves a chat. Chat.Read
Resolve meeting Resolves a meeting. Calendars.ReadWrite
Resolve team Resolves a team. Team.ReadBasic.All
Search messages messages in kanallar and chats arar. ChannelMessage.Read.AllChat.ReadWrite
Search users users arar. User.Read.All
Send channel message a channel message and can include ekler gönderir. Channel.ReadBasic.AllChannelMember.Read.AllChannelMessage.SendFiles.ReadWrite.All
Send chat message a chat message and can include ekler gönderir. Chat.ReadWriteFiles.ReadWrite.All
Actions affected by Sites.Selected
Teams channel attachments use the team's SharePoint drive. With
Sites.Selected, Microsoft Graph rejects thefilesFolderlookup even when the selected site has write access. Chat attachments use personal OneDrive, soSites.Selecteddoes not apply to them.
The following actions may not work completely when handling channel attachments with selected site permissions:
When the action reads a channel attachment, it resolves the channel folder through the Microsoft Graph /teams/{teamId}/channels/{channelId}/filesFolder endpoint. Sites.Selected doesn't authorize this lookup, so attachment retrieval can fail even when the selected site grant allows direct file access.
When the action reads channel attachments, it resolves the channel folder through the Microsoft Graph /teams/{teamId}/channels/{channelId}/filesFolder endpoint. Sites.Selected doesn't authorize this lookup, so attachment retrieval can fail even when the selected site grant allows direct file access.
When the action sends a channel attachment, it resolves the channel folder through the Microsoft Graph /teams/{teamId}/channels/{channelId}/filesFolder endpoint. Sites.Selected rejects this lookup before the file upload or reply request.
When the action sends a channel attachment, it resolves the channel folder through the Microsoft Graph /teams/{teamId}/channels/{channelId}/filesFolder endpoint. Sites.Selected rejects this lookup before the file upload or message request.