question

BernardoAugustoGarcaLoaiza-1780 avatar image
0 Votes"
BernardoAugustoGarcaLoaiza-1780 asked BernardoAugustoGarcaLoaiza-1780 commented

Removing appRoleAssignments on service principal from Azure Portal UI

I have several service principals where I am associating users as app role assignments to allow to authenticate those users only with a particular service principal.
Is something like this:
https://docs.microsoft.com/en-us/graph/api/user-list-approleassignments?view=graph-rest-1.0&tabs=http

I am programmatically adding them and remove them via graph API, but within my internal tests, is important to remove them from Azure UI portal. I did it in the recent past, but today I can't.

89909-image.png

89942-image.png

I am not entirely sure why this is happening whether this is due to some kind of block operations from AAD towards my Ip address or something like that since the error message does not says too much about that.


azure-active-directory
image.png (57.5 KiB)
image.png (18.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered BernardoAugustoGarcaLoaiza-1780 commented

@BernardoAugustoGarcaLoaiza-1780
Thank you for your post!

I wasn't able to reproduce your issue, since I could remove a user from my Enterprise app. However, can you retry the operation and if you're still having issues - try logging out/in again, or closing out of your browser, signing in, and retrying the operation.

90462-removeuserenterpriseapp.gif


If you're still having issues with removing users, please let me know.
Thank you for your time and patience throughout this issue.


Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@BernardoAugustoGarcaLoaiza-1780
I just wanted to check in and see if you had any other questions or if you were able to resolve this issue?

1 Vote 1 ·

@JamesTran-MSFT Thank you for your response. Sorry for being late in my answer. I was off these days.
Indeed I can now remove app role assignments across the service principals, most probably I could log off and log in again, but I just refreshed my session Azure portal.
I've noticed this behavior sometimes is recurrent, so it is a matter of cache/session or retrying sync ephemeral situations?

0 Votes 0 ·