cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
landonjochim
Resolver II
Resolver II

Microsoft Teams - Add a member to a team - Caller does not have the required permissions for accessing this API

I have a basic workflow that creates a new Team. The following step is to add an AAD group/user to the Team. I have the Object ID from Azure Active Directory. And when the workflow gets run, the Team gets created no problem. But I am getting an issue on the Add a member to a team. If I need to grant access to the account to use this action, does anyone know where to do that? Or does anyone have any idea what I am doing wrong here?

 

landonjochim_0-1640810901203.png

    "body": {
        "error": {
            "code""Forbidden",
            "message""Caller does not have the required permissions for accessing this API. AllowedPermissions:'TeamMember.ReadWrite.All'",
            "innerError": {
                "date""2021-12-29T20:37:02",
                "request-id""",
                "client-request-id"""
            }
        }
    }
0 REPLIES 0

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,370)