Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not 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 2
artemus
Microsoft Employee
Microsoft Employee

I haven't used graph much, but:

 

Can you try using #"$select" instead of select?

Anonymous
Not applicable

Unfortunatelly no change: Select1.PNGSelect2.PNG

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.