title: Azure AD B2C - Using Azure AD Graph API
body: <p>I am calling the Azure AD Graph API using a local administrator token. I keep getting the following error messages, no matter what endpoint I call. </p>
  
  <p>How do I get access to the Azure AD Graph API?</p>
  
  <pre><code>{
    "odata.error": {
      "code": "Authorization_RequestDenied",
      "message": {
        "lang": "en",
        "value": "Insufficient privileges to complete the operation."
      }
    }
  }
  </code></pre>
  
  <p>My URL</p>
  
  <pre><code> https://graph.windows.net/&gt;tenant&gt;/users/821d91b8-36e1-4b89-bd3a-4caecc40e4c9/memberOf?api-version=1.6
  </code></pre>