-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification Hub Namespace update failed with BadArgument Exception #235
Comments
Any updates on this one? The bug is pretty critical, we can not add NotificationHub as part of our IaC flow. |
Any update on this? |
@MrBear141 did you solved it? |
any update on this ? |
@Abhi-532 shamefully the only solution is to export all of the device registration from your hub, delete it then deploy again and import the device registrations. I will never use any ms azure solution again... |
the issue is very critical, IaC flow can not work properly. Can anyone from azure team give some info about the bug? If it is not gonna be fixed, we are gonna move to some other notification solution. Any info would be appreciated. |
Hi this is a confirmation from Azure team that we have a known Bug in Bicep Script for update operation @2023-10-01-preview'. Hope this helps! |
i was recommended to revert the
while:
etc. |
Hi @bvegso, Yes we can use older version i.e. 2017-04-01 but for usecases specifically to FcmV1, 2017-04-01 version does not support them. For all other use cases we can keep on continuing the older version as a workaround until the bug is fixed. Thanks ! |
the |
Hi @jatin-sisodia, any update on how the fix is going? |
@eth-ellis: use bvegso's solution. It will work. |
We have a notification hub namespace that includes one notification hub.
During the replacement of the Google fcm message support we wanted to set the new FCM v1 settings through our bicep script.
Because these settings are only available in the "2023-10-01-preview" version, we updates our script to this version.
When running the deployment we get the following error
Because we can´t get more detail information about this error, we made some tests within an empty resource group.
We created a new notification hub namespace with a notification hub and the FCM v1 setttings. Everything works fine.
When we re-run the bicep we always get the same error.
When we delete the notification hub namespace and re-run the script, everythings is working again.
It seems, there might be an issue when the deployment tries to update an existing notification hub namespace.
We tried this with the API Version "2023-09-01", but the error also happens here.
Maybe someone can help us to figure out what is going wrong and how we can update our existing notification hub (namespaces) without getting this error.
Best Regards
Christian
Here is the bicep script we use to reproduce the issue:
--- Origin Post ---
https://github.com/Azure/bicep-types-az/issues/2222
The text was updated successfully, but these errors were encountered: