To confirm that I am correctly understanding your issue, it sounds like you are saying that you can create the group via PowerShell but receive the authorization error when you try via Azure CLI.
In your second screenshot with the successful command, there is a different subscription ID listed than the one in your error and in your first screenshot. It sounds like your account has permissions in the second subscription but not in the first one. I would recommend performing the same steps of adding the owner permissions to the first subscription (f7e98163-5df7-4cb2-b770-15754cc0441a), OR creating the resources in the second subscription (30e9013b-xxx-xxx) if that was the intention.
You can set the subscription in Azure CLI running
az account set --subscription your-subscription-id
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions. Otherwise let me know if you have further questions.