Getting all user data using Microsoft Graph API
<p>Using PHP and the Microsoft Graph API I'm fetching a user by querying:</p>

<p><code>https://graph.windows.net/&lt;tenant&gt;/users/&lt;userId&gt;?api-version=2013-11-08</code>  </p>

<p>This works fine, but only returns the standard fields for the user object. According to the documentation I'm supposed to be able to use $select=* to get all the user data, like this:</p>

<p><code>https://graph.windows.net/&lt;tenant&gt;/users/&lt;userId&gt;?$select=*&amp;api-version=2013-11-08</code> </p>

<p>However this gives me the following error:<br>
<code>{"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"The ability to use the $select query option to define a projection in a data service query is disabled. To enable this functionality, set the DataServiceConfiguration. AcceptProjectionRequests property to true."}}}</code>  </p>

<p>How can I enable "AcceptProjectionRequests"? I find nothing about this in the documentation or in other SO-threads.</p>