Azure Graph API permissions issue

Jarque Erasmus 0 Reputation points
2025-04-03T09:56:24.7933333+00:00

Hi,

I'm trying to extract the data that was summitted from a Microsoft Form using the Microsoft Graph API

I found a solution via ChatGPT and they explained in order to use power automate to get the Start time and end time of a form that was submitted I need to use the Graph API.

I followed all the steps, but now I'm stuck.

I get an error stating I do not have permissions to access Microsoft Graph API with the user that I used to do the GET URI on an HTTP action. I am using the following query https://graph.microsoft.com/v1.0/users/{User ID}/forms where User ID is my Global Admin User.

I am not sure how to give permission that is requested and ChatGPT and copilot is unable to direct me to the correct place so is there anyone that perhaps knows where I need to set permissions?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,935 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prabhavathi Manchala 2,315 Reputation points Microsoft External Staff Moderator
    2025-04-03T21:03:17.83+00:00

    Hi Jarque Erasmus,

    Even though you're using a Global Admin account, you're facing permission errors when trying to access Microsoft Forms data through the Graph API. This happens because specific permissions need to be granted for Graph API access, even to admin accounts.

    1). Register your application in Azure AD by going to the Azure Portal → Navigating to Azure Active Directory → App registrations → New registration → Naming your app and registering it.

    2). In your newly registered app, go to API permissions → Click Add a permission → Microsoft Graph → Delegated permissions → Search for and add the following permissions:

    • Forms.Read (to read form definitions)
    • Forms.ReadWrite (if you need to modify forms)
    • Forms.Read.All (to read all forms in the organization)

    3). Grant admin consent by clicking the Grant admin consent for [your organization] button after adding the permissions; this step requires an admin account.

    4). Go to Certificates & secrets → Create a new client secret and save it securely.

    Please refer to the document below for troubleshooting Microsoft Graph.

    https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/troubleshoot-authorization-requestdenied-graph-api#troubleshooting-microsoft-graph-api-by-using-postman

    Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    Let me know if you have any further Queries.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.