Microsoft Teams-4.823.932
Microsoft Teams | Microsoft Teams |
Author: Arun Kumar(arunk@arogs-labs.com) Description Microsoft Teams plug-in use to Get Users List, Get Chat Members List, Chat Send Message, Get Channel Members List, and Channel Send Message. |
Content
Create credentials for Azure Active Directory
2. Select Manage Azure Active Directory
3. Select App registrations
4.Add New registration
5.Register app with skype and web rediret url |
6. Select api permissions
7.Add api permissions
8. Select Microsoft Graph
\
9. Select permissions
10. Search and check all required permission names form table and Add permission
Permission name | Permission desc |
|---|---|
ChannelMember.Read.All | Read the members of channels |
ChannelMember.ReadWrite.All | Add and remove members from channels |
ChannelMessage.Send | Send channel messages |
Chat.ReadWrite | Read and write user chat messages |
ChatMessage.Send | Send user chat messages |
Group.ReadWrite.All | Read and write all groups |
offline_access | Maintain access to data you have given it access to |
openid | Sign users in |
profile | View users' basic profile |
User.Read | Sign in and read user profile |
User.Read.All | Read all users' full profiles |
User.ReadBasic.All | Read all users' basic profiles |
11. Select Grant admin consent
12. Generate secret token Select certificate & secrets
13. Add new secret
14. Value Column will be secret token
15. Update Manifest "signInAudience": "AzureADMultipleOrgs"
Input(Required)
OP Type | Parameters | Output |
|---|---|---|
Get Users List |
| id,displayName,jobTitle,officeLocation,businessPhones |
Get Chat Members List | Chat Id | id,displayName,email |
Chat Send Message | Chat Id, Message | message_id |
Get Channel Members List | Channel Link | id,displayName,jobTitle,officeLocation,businessPhones |
Get Channel Members List | Team Id, Channel Id | id,displayName,jobTitle,officeLocation,businessPhones |
Channel Send Message | Channel Link | message_id |
| Message |
|
Channel Send Message | Channel Link | message_id |
| Message |
|
| File |
|
Channel Send Message | Team Id, Channel Id | Updated file path |
| Message |
|
Channel Send Message | Team Id, Channel Id | Updated file path |
| Message |
|
| File |
|
Return Value
Normal Case
Description of the output result
Return Code
Code | Meaning |
|---|---|
0 | Success |
1 | Exceptional case |
Output Format
You mat choose one of 3 output formats below.
String(default)
CSV
file
Parameter setting examples(diagrams)
Operations
Get user List:
Get Chat Members List:
Chat Send Message:
Get Channel Members List:
Channel Send Message: