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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 154 members 4,440 guests
Please welcome our newest community members: