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

SharePoint Online - Get User Information & Location

 

I have built a powerapp form for requesting access to certain groups. This app is then submitted into the SharePoint list. In this list it stores the information based on the user who has created the information however there is a need to find out where the user is located globally (created by) as a power bi report will be built based on the requests submitted.

 

I believe the api needs to connect to similar to this service 

/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='i:0%23.f|membership|xx@siteurl.onmicrosoft.com'

 

 As i am new to rest api's - how can the following task be completed in flow?

 

Whats the difference to REST API and office 365 connector get user profile and writing this back to the sharepoint list?

 

Thanks

1 REPLY 1
Community Support Team
Community Support Team

Re: SharePoint Online - Get User Information & Location

Hi @daniellemaree

 

Could you provide a screenshot of the Flow configuration and share the configuration steps for the powerapp form?

Do you want to get the location of created by user via Http request?

I think if you can get the user's UPN, it is a good choice to use the get user profile action, which makes it easy to get location information.

In my understanding, the REST API and office 365 connector get user profile are essentially the same. The action contained in the connector should call the corresponding api to get the content through the Http request. The connector encapsulates the results of some requests and parsing into Dynamic content for ease of use.

Maybe these links can be useful to you:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service

https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/

Please provide more details and we would provide a proper workaround for you.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

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!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,992)