Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Send a Microsoft Graph HTTP request permissions issues

(1) ShareShare
ReportReport
Posted on by 18

I'm using the Power Automate Teams Send a Microsoft Graph HTTP request action with a URI of:

https://graph.microsoft.com/v1.0/teams/@{variables('varTeamId')}/channels/@{variables('varChannelId')}/tabs

 

which is failing with a Missing scope permissions error message (see below).  I can't find any way to assign these permissions.  When following Microsoft Learn topics, most lead to assigning permissions for the relevant App.  But there's no App - this is a Power Automate Flow.

 

In Entra, I can see an Enterprise App for 'Power Apps and Flow' which might be appropriate, as well as Graph Explorer and Microsoft Graph Powershell which I think probably are not,  but there is no way to assign permissions - the only available action is to Grant (previously requested?) permissions.

 

I've already lost hours on trying to figure this out - with no relevant documentation that I can find.  Anyone have any ideas?

 

Error message:  Missing scope permissions on the request. API requires one of 'TeamsTab.ReadWriteSelfForTeam, TeamsTab.Create, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All'. Scopes on the request 'Calendars.ReadWrite, Calendars.ReadWrite.Shared, Channel.Create, Channel.ReadBasic.All, ChannelMessage.Read.All, ChannelMessage.ReadWrite, ChannelMessage.Send, Chat.Create, Chat.Read, Chat.ReadWrite, ChatMessage.Send, GroupMember.Read.All, Presence.Read.All, Presence.ReadWrite, Team.Create, Team.ReadBasic.All, TeamMember.ReadWrite.All, TeamsAppInstallation.ReadWriteForChat, TeamsAppInstallation.ReadWriteForTeam, TeamsAppInstallation.ReadWriteForUser, TeamSettings.Read.All, TeamSettings.ReadWrite.All, TeamworkTag.Read, TeamworkTag.ReadWrite, User.Read, User.Read.All'

 

 

 

 

  • PSCJohnM Profile Picture
    PSCJohnM 18 on at
    Re: Send a Microsoft Graph HTTP request permissions issues

    Thanks @Jcomf1, I'm confused myself as to the connection between Power Automate and Graph. I can see no way, in any case, of assigning the referenced permissions to a user - In Graph developer, it appears that a user must be able to Consent to their own permissions, which means the user must be a Global or Cloud Application Administrator - neither of which can be recommended...!

     

    As a test (not to be reproduced in production), I tried the Flow with a Cloud Application Administrator profile - and got the same Missing scope errors - even though I had used Graph Explorer to Consent to all listed permissions..

     

    Frustratingly, Graph Explorer, using the Cloud Application Administrator profile, so with all of the permissions consented, fails to access the same Endpoint - this time with an error of "Failed to execute Skype backend request GetThreadS2SRequest".
     
    It seems to me that the Teams Send a Microsoft Graph HTTP request action just doesn't work except, perhaps, in lab type environment.  I think it's time to divert my efforts to something that works... 

     

     

  • Jcomf1 Profile Picture
    Jcomf1 on at
    Re: Send a Microsoft Graph HTTP request permissions issues

    @JohnTMP I am trying to do the exact same thing. I was following the thread that PowerSharp posted and having a poke around to try and figure this out.

     

    Never had the need to do anything with app registrations in Azure before when using Graph HTTP requests in Power Automate so I'm a bit confused!

  • PSCJohnM Profile Picture
    PSCJohnM 18 on at
    Re: Send a Microsoft Graph HTTP request permissions issues

    Hi Jcomf1 and thanks for replying.

     

    I don't have an MS Graph - Power Automate Connector app.  Is this one you created?  My issue is that I am using the Power Automate action, from the Teams group, of 'Send a Microsoft Graph HTTP request'.

    JohnTMP_1-1720703380311.png

    I can understand that there would be an App associated with this action but I don't know what it is and can't find any reference to one in the documentation.

  • PSCJohnM Profile Picture
    PSCJohnM 18 on at
    Re: Send a Microsoft Graph HTTP request permissions issues

    Thanks for replying Powersharp.  The referenced thread discusses creating and authorising an App to access the Graph API. If using this approach in Power Automate, a HTTP Request action is selected and the App secret is specified in the connection.

     

    I am using the Power Automate action, from the Teams group, of 'Send a Microsoft Graph HTTP request'.

    JohnTMP_0-1720703269649.png

     

    The connection for this is my Teams logon.  If there is an associated App I don't know what it is and can't find any reference to one in the documentation.

  • Jcomf1 Profile Picture
    Jcomf1 on at
    Re: Send a Microsoft Graph HTTP request permissions issues

    I am having this exact same issue. Is it the permissions for the endpoint in Azure?

     

     

  • NN-31071626-0 Profile Picture
    NN-31071626-0 4 on at
    Re: Send a Microsoft Graph HTTP request permissions issues

    Similar issue discussed in this thread with few suggestions:

    Getting Missing scope permissions on the request. API requires one of 'Chat.ReadBasic, Chat.Read, Chat.ReadWrite'. Scopes on the request 'openid, profile, User.Read, email'" error in MS graph - Microsoft Q&A

     

    Hope this helps!

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics