Skip to content

Microsoft.Authorization/roleEligibilityScheduleRequests API not idempotent? #8075

Answered by brwilkinson
MPowellFDB asked this question in Q&A
Discussion options

You must be logged in to vote

@MPowellFDB You are correct, this API is not idempotent.

You have to provide a new guid each time you change or even delete the scheduleRequest.

I simply use the following and it works fine.

param name string = newGuid()

Also note that when I roleElegibilitySchedule is activated, you are unable to modify them and the deployment will fail.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@azMantas
Comment options

@MPowellFDB
Comment options

@brwilkinson
Comment options

Answer selected by brwilkinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants