
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
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