contextUserId is missing privilege ae5c41f0-e823-4cb9-b25a-8ef020201973 error in WebAPI

Nishant RanaDyn365CE5 years ago12 Views

We were getting the below error while using impersonation in our WebAPI Searching for the privilege id we got the following detail…

Continue Reading Nishant Rana’s Article on their blog

contextUserId is missing privilege ae5c41f0-e823-4cb9-b25a-8ef020201973 error in WebAPI

We were getting the below error while using impersonation in our WebAPI Searching for the privilege id we got the following detail {“@odata.etag”:”W/”47875405″”,”overwritetime”:”1900-01-01T00:00:00Z”,”solutionid”:”fd140aad-4df4-11dd-bd17-0019b9312238″,”introducedversion”:”8.2.0.0″,”canbebasic”:false,”canbedeep”:false,”ismanaged”:false,”accessright”:32,”canbeglobal”:true,”privilegeid”:”ae5c41f0-e823-4cb9-b25a-8ef020201973″,”canbeentityreference”:false,”privilegerowid”:”1b218262-afac-4859-b9e0-c8c0f6550231″,”componentstate”:0,”canbelocal”:false,”versionnumber”:47875405,”canbeparententityreference”:false,”name”:”prvActOnBehalfOfAnotherUser”}, So the user was missing the Act On Behalf Of Another User privilege https://nishantrana.me/2018/01/30/user-does-not-have-the-privilege-to-act-on-behalf-another-user-error-while-using-impersonation-in-web-api-in-dynamics-365/ Hope it helps..

Blog Syndicated with Nishant Rana’s Permission

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...