Forum Discussion
Anonymous
6 years agoNot applicable
Select only the required attributes from Graph API call
Hello all,
So inside the Web.Content I have this header where I try to specify only the required attributes :
Headers = [
Authorization = "Bearer " & GetGsfAccessToken(AppSecret),
ContentType = "application/json",
Query = [
select = {"businessPhones","displayName","department","givenName",
"jobTitle","mail","mobilePhone","officeLocation",
"preferredLanguage","surname","userPrincipalName","id"}
]
]
Could you please help me with the correct way to do that?
Many thanks,
2 Replies
- artemusMicrosoft Employee
I haven't used graph much, but:
Can you try using #"$select" instead of select?
- AnonymousNot applicable
Unfortunatelly no change: