cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Office365Users.UserProfileV2 - preferredDataLocation property

Hello, I've struggling to access the 'preferredDataLocation' property using the 'Office365Users.UserProfileV2' connector. The connector is: https://docs.microsoft.com/en-us/connectors/office365users/#get-my-profile-(v2) The properties are listed: https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties This doesn't work (in for example a text field). Office365Users.UserProfileV2("john.doe@contoso.com", {'$select':"userPrincipalName,displayName,employeeId,mail,mailNickname,preferredDataLocation"}).preferredDataLocation While this would work: Office365Users.UserProfileV2("john.doe@contoso.com", {'$select':"userPrincipalName,displayName,employeeId,mail,mailNickname,preferredDataLocation"}).displayName I managed to work around this using a Runbook (this rather slow!) retrieving the data BUT, the Runbook Connector is a Premium Feature, it wouldn't be practical to buy the Premium Licenses for this. The 'Office365Users.UserProfileV2' connector only seems to provide access to a handful of properties. Thanks Laurence
1 REPLY 1
Community Support
Community Support

Hi @lrarbin1977 ,

 

From the response of Office365Users.UserProfileV2, we can known that the preferredDataLocation property is not supported in Office365 User Connector, it retrieves only some default properties.

What we can do is to create a Custom connector or send HTTP request to call the Get User Graph API via MS flow, however, both need Premium License. So for now, upgrading to Premium is a must.

Hope this helps.

Sik

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (49,888)