The error you are encountering when trying to update the pricing tier of your Notification Hub namespace from Free to Basic is likely due to a conflict with the existing authorization rules. This can happen if there are existing settings or configurations that prevent the update from being applied.
To resolve this issue, you can try the following steps:
- Check Authorization Rules: Ensure that there are no conflicting authorization rules that might be preventing the update. You can list the current authorization rules using the Azure CLI command:
az notification-hub namespace authorization-rule list --resource-group rg-keyboardy --namespace-name nhns-keyboardy - Modify or Remove Conflicting Rules: If you find any conflicting authorization rules, consider modifying or removing them before attempting to change the pricing tier again.
- Retry the Update: After addressing any conflicts, retry the command to update the pricing tier:
az notification-hub namespace update --sku Basic --resource-group rg-keyboardy -n "nhns-keyboardy" - Use Azure Portal: If the CLI continues to give you issues, try using the Azure portal to change the pricing tier, ensuring that all settings are correctly configured.
If the problem persists after these steps, it may be necessary to contact Azure support for further assistance.