-
Notifications
You must be signed in to change notification settings - Fork 822
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
InvalidResourceType when creating new RBAC assignment using SDK #17071
Comments
Hi @DamirZelenic thanks for this issue and sorry for the inconvenience! We will confirm this with the corresponding service team to see if this api-version has been deployed to all the regions. Stay tuned. Also could you please also share the location/region (if any) and cloud you are using when deploying the role assignment? |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @darshanhs90, @AshishGargMicrosoft. Issue DetailsBug Report
As error suggests there is unsupported api version in line 87:
changing it to supported version, for example:
produces expected result.
|
Hi @ArcturusZhang
In error message I see newer api being available "...2020-08-01-preview,2021-04-01-preview", only 10-01 is missing. |
Please share that as well if possible. Thank you! |
Hi @DamirZelenic. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Hi @DamirZelenic, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Bug Report
import path of package in question
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization"
SDK version e.g.
master
,latest
,18.1.0
v0.3.0
output of
go version
go version go1.17.6 darwin/arm64
When trying to create new RBAC role assignment using Create method I got:
Expect result like:
As error suggests there is unsupported api version in
azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization@v0.3.0/zz_generated_roleassignments_client.go
line 87:
changing it to supported version, for example:
produces expected result.
The text was updated successfully, but these errors were encountered: