title: Graph API Office 365 usage report - Forbidden
body: <p>I try to use Office 365 usage reports in Graph API. I would like for example export the EmailActivity report with the request GET /reports/EmailActivity(view=view-value, period=period-value, date=date-value)/content</p>
  
  <p>When I try the example <a href="https://graph.microsoft.com/beta/reports/EmailActivity(view=" rel="nofollow noreferrer">https://graph.microsoft.com/beta/reports/EmailActivity(view=</a>'Detail',period='D7')/content in Graph Explorer I have the following error </p>
  
  <p>Failure - Status Code 403705msLooks like you may not have the permissions for this call. Please modify your permissions.</p>
  
  <pre><code>{
      "error": {
          "code": "Forbidden",
          "message": "Invalid scope claims/roles.",
          "innerError": {
              "request-id": "f1f89dcf-b2df-4537-a4ad-f07ccfff2899",
              "date": "2017-07-05T17:01:23"
          }
      }
  }
  </code></pre>
  
  <p>I don't uderstand because I looging like an admin of Office 365 I have add almost all the permision. What I had miss ?</p>
  
  <p>Edit : More details,
  I use Graph Explorer, when I click to grant access 
  <a href="https://i.stack.imgur.com/q13BX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q13BX.png" alt="enter image description here"></a></p>
  
  <p>I have th confirmation </p>
  
  <p><a href="https://i.stack.imgur.com/Onvs5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Onvs5.png" alt="enter image description here"></a></p>
  
  <p>I've the admin right</p>
  
  <p><a href="https://i.stack.imgur.com/wmpHs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wmpHs.png" alt="enter image description here"></a></p>
  
  <p>I try my request in graph explorer</p>
  
  <p><a href="https://i.stack.imgur.com/5ku7P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5ku7P.png" alt="enter image description here"></a></p>
  
  <p>And I have my error </p>
  
  <p><a href="https://i.stack.imgur.com/XhWZT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XhWZT.png" alt="enter image description here"></a></p>
  
  <p>I don't know what I could do be better.</p>