를 사용하는 모든 사용자 데이터를 얻기 : 이것은 잘 작동하지만 사용자 만 개체에 대한 표준 필드를 반환는 PHP 및 Microsoft 그래프 API 내가 쿼리하여 사용자를 가져 오는거야를 사용하여 마이크로 소프트 그래프 API
https://graph.windows.net/<tenant>/users/<userId>?api-version=2013-11-08
. 문서에 따르면이 같은 모든 사용자 데이터를 얻을 $ 사용 = * 선택할 수 있어야 해요 :
{"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."}}}
https://graph.windows.net/<tenant>/users/<userId>?$select=*&api-version=2013-11-08
그러나이 나에게 다음과 같은 오류를 제공합니다
"AcceptProjectionRequests"를 어떻게 활성화 할 수 있습니까? 문서 나 다른 SO 스레드에서이 점에 관해서는 아무것도 알지 못합니다.
그래프 API는 '$ filter, $ batch, $ expand, $ orderby, $ top, $ skiptoken 및 이전 페이지'와 같은 Odata 쿼리 매개 변수를 지원합니다. [여기] (https://msdn.microsoft.com/en-us/library/azure/ad/graph/howto/azure-ad-graph-api-operations-overview#OdataQueryParameters)를 참조하십시오. –