cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JoakimAndersson
Level: Powered On

How to get .streetAddress ?

Hello!

My system admin is not comfortable giving PA the requested permissions for using the Azure AD connector. I can use Office365Users.SearchUser to get most of the information I need but streetAddress is not available for some reason.

 

Is there some kind of workaround for this or do I have to create a table with this information?

 

Cheers,

Joakim

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to get .streetAddress ?

@JoakimAndersson 

Yes, you can use the UserProfileV2 function...

   Office365Users.UserProfileV2(userID, {'$select':"streetAddress"}).streetAddress

 

That will give you the address if it exists.

 

I hope that is helpful.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: How to get .streetAddress ?

@JoakimAndersson 

Yes, you can use the UserProfileV2 function...

   Office365Users.UserProfileV2(userID, {'$select':"streetAddress"}).streetAddress

 

That will give you the address if it exists.

 

I hope that is helpful.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

JoakimAndersson
Level: Powered On

Re: How to get .streetAddress ?

That worked like a charm! Thank you for taking the time to reply @RandyHayes 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,468)