Accessing SharePoint user profile properties via REST api (_api/SP.UserProfiles.PeopleManager) in SPFx stopped working as of May 27th @ around 7pm #10289
Labels
area:csom/rest/api
Category: SharePoint Client Side Object Model SDK / REST API
type:bug-confirmed
Confirmed bug, not working as designed / expected.
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Uh oh!
There was an error while loading. Please reload this page.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Developer environment
macOS
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
There is an internal Microsoft support ticket attached to this.
Retreving a SharePoint user's profile properties via REST ap in SPFx stopped working as of May 27th @ around 7pm. The following code snippet will fail (mildly edited from what I have in code):
Note that I use aadTokenProvider and httpClient instead of spHttpClient because that's the only way to access properties in a multi-geo tenant. This was working for both my main domain and my emea domain.
Steps to reproduce
Expected behavior
The httpRequest should be successful and return a value for the requested property.
The text was updated successfully, but these errors were encountered: