I'm trying to connect to the SPO user profile properties to retrieve a custom property via the "Send an HTTP request to SharePoint" connector.
The request is:
Announcements
I'm trying to connect to the SPO user profile properties to retrieve a custom property via the "Send an HTTP request to SharePoint" connector.
The request is:
Hi @spela3,
There is no need to add the headers.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Community Support Team _ Lin Tu
Ok, I was able to get an output of the properties with this formatted request. Everything works now. 🙂
I also had to escape the ':' and '|' so that the format was "@v='i%3A0%23.f%7Cmembership%7C<accountName>".
I don't know if the headers were necessary, but I threw them in just in case.
Thank you @v-litu-msft!
I escaped the '#' and the '@' and used "Employee Email" instead of "Employee Claims" and it ran successfully!
However, I'm getting a null output. Any ideas as to why?
Hi @spela3,
You can try this uri:
/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='i:0%23.f|membership|xx@siteurl.onmicrosoft.com'
Run result:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1