Hi,
Hope you have a role assigned as Cloud App Administrator as basic to allow / grant consent ? Can you try the same process via Cloud Shell and steps are here in this article - https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent?pivots=ms-powershell
Hope this helps.
JS
==
Please Accept the answer if the information helped you. This will help us and others in the community as well.