-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Set-AzResource is not working at all to set ipSecurityRestrictions #8784
Comments
By the way, we have a similar Just for fun.
That |
@panchagnula Hey Sisira, would you know why the HTTP Request: Click to expand request
HTTP Response: Click to expand response
In the request, you can see that the |
@cormacpayne this is new - I am not aware any backend issues on our end, let me investigate futher. |
Looking at our Kusto logs @cormacpayne we are receiving null for IPRestrictions property, so looks like PowerShell issue |
@panchagnula Great, thanks for taking a look and verifying 😁 |
@JohannesHoppe Hey Johannes, one thing I just noticed when looking at your script again is that you're providing # Using piping
$WebAppConfig | Set-AzResource -ApiVersion 2018-02-01 -Force
# Using -ResourceId and -Properties parameters
Set-AzResource -ResourceId $WebAppConfig.ResourceId -Properties $WebAppConfig.Properties -ApiVersion 2018-02-01 -Force Please let me know if either of these commands works for you! |
Closing as fixed - @JohannesHoppe Please let us know if you are continuing to see an issue and we will reopen this. Thanks! |
Description
I updated the Az module, in the hope that my bug #8240 was fixed.
Nope, i still can't set any firewall rules.
Steps to reproduce
All right, let's try to set up a firewall rule. There are already four rule existing. I want to add a 5th one.
This gives no error message but also absolutely nothing happens.
Same issue reported here and here.
Environment data
Module versions
Debug output
Ok, I'm not exposing sensitive information here, but the data which is send to the server is wrong.
I can clearly see, that the added rule is never included in the request. This explains why nothing happens!
Error output
No error output. It fails by doing nothing.
The text was updated successfully, but these errors were encountered: