title: Operation returned an invalid status code 'Unauthorized' +PowerBI + AddGroupUserWithHttpMessagesAsync
body: <p>When I'm trying to assign a user to a workspace programmatically using the api method AddGroupUserWithHttpMessagesAsync, facing the issue Operation returned an invalid status code 'Unauthorized'. I have given all the API permissions as shown in the below image. Please suggest.</p>
  <p><a href="https://i.stack.imgur.com/dJiSL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dJiSL.png" alt="enter image description here" /></a></p>