Skip to content
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

Get the error to change on New-AzDisk line -144 #5

Open
ahsanzakaullah opened this issue Dec 15, 2021 · 0 comments
Open

Get the error to change on New-AzDisk line -144 #5

ahsanzakaullah opened this issue Dec 15, 2021 · 0 comments

Comments

@ahsanzakaullah
Copy link

When i trying to runn command "$NewManagedDisk = New-AzDisk -ResourceGroupName $resourceGroupName -DiskName $NewDiskName -Disk $diskConfig". I am getting the error.
New-AzDisk: Changing property 'sourceUri' is not allowed for existing disk 'diskName'.
ErrorCode: BadRequest
ErrorMessage: Changing property 'sourceUri' is not allowed for existing disk 'diskName'.
ErrorTarget:
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : b19610a7-e2f3-4408-9ffb-6ff631e53d50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant