You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running the following script results in a couple of errors: ./quickstart/scripts/labvm/Deploy-LabVM.ps1:
[DevSquadInaDay] Initializing the lab VM disk
ResourceGroupName : rg-labvm
Location : eastus
ProvisioningState : Succeeded
Tags :
ResourceId : /subscriptions/<subscriptionID>/resourceGroups/rg-labvm
ResourceGroupName : rg-labvm
ManagedBy :
ManagedByExtended : {}
Sku : Microsoft.Azure.Management.Compute.Models.DiskSku
Zones :
TimeCreated : 4/15/20222:20:01 AM
OsType : Windows
HyperVGeneration :
CreationData : Microsoft.Azure.Management.Compute.Models.CreationData
DiskSizeGB :
DiskSizeBytes :
UniqueId : 9322e375-23bd-4811-b579-0053a7c33ced
EncryptionSettingsCollection :
ProvisioningState : Succeeded
DiskIOPSReadWrite : 500
DiskMBpsReadWrite : 100
DiskIOPSReadOnly :
DiskMBpsReadOnly :
DiskState : ReadyToUpload
Encryption : Microsoft.Azure.Management.Compute.Models.Encryption
MaxShares :
ShareInfo : {}
Id : /subscriptions/<subscriptionId>/resourceGroups/rg-labvm/providers/Microsoft.Compute/disks/disklabvmeastus
Name : disklabvmeastus
Type : Microsoft.Compute/disks
Location : eastus
ExtendedLocation :
Tags : {}
NetworkAccessPolicy : AllowAll
DiskAccessId :
Tier : P10
BurstingEnabled :
PurchasePlan :
SupportsHibernation :
SecurityProfile :
PublicNetworkAccess : Enabled
SupportedCapabilities :
[DevSquadInaDay] Copying the lab VM snapshot to your subscription
INFO: Scanning...
INFO: azcopy: A newer version 10.14.1 is available to download
failed to perform copy command due to error: no SAS token or OAuth token is present and the resource is not public
Revoke-AzDiskAccess: /home/<path>/<project>/quickstart/scripts/labvm/Deploy-LabVM.ps1:33
Line |33|Revoke-AzDiskAccess-ResourceGroupName $resourceGroupName-DiskName $ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The specified cookie value in VHD footer indicates that disk 'abcd' with blob https://md-impexp-v0b5nhzmddqq.z21.blob.storage.azure.net:8443/z321kgskk1ml/abcd is not a supported VHD. Disk is expected to have cookie value 'conectix'. ErrorCode:
| InvalidVhd ErrorMessage: The specified cookie value in VHD footer indicates that disk 'abcd' with blob https://md-impexp-v0b5nhzmddqq.z21.blob.storage.azure.net:8443/z321kgskk1ml/abcd is not a supported VHD. Disk is expected to have cookie value
|'conectix'. ErrorTarget: StatusCode: 400 ReasonPhrase: Bad Request OperationID : 854c65f5-2a08-4ebb-8e9a-e85f30d60ffa
[DevSquadInaDay] Creating the lab VM associated resources
WARNING: Upcoming breaking changes in the cmdlet 'New-AzVirtualNetworkSubnetConfig' :
Update Property Name
Cmdlet invocation changes :
Old Way : -ResourceId
New Way : -NatGatewayId
Update Property Name
Cmdlet invocation changes :
Old Way : -InputObject
New Way : -NatGateway
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.
WARNING: Upcoming breaking changes in the cmdlet 'New-AzPublicIpAddress' :
Default behaviour of Zone will be changed
Cmdlet invocation changes :
Old Way : Sku = Standard means the Standard Public IP is zone-redundant.
New Way : Sku = Standard and Zone = {} means the Standard Public IP has no zones. If you want to create a zone-redundant Public IP address, please specify all the zones in the region. For example, Zone = ['1','2','3'].
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.
[DevSquadInaDay] Creating the lab VM
New-AzVM: /home/<path>/<project>/quickstart/scripts/labvm/Deploy-LabVM.ps1:86
Line |86|New-AzVM-ResourceGroupName $resourceGroupName-Location $location-V …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Disk 'disklabvmeastus' is created for Upload. Call BeginGetAccess to upload data and EndGetAccess before copying or attaching the disk. ErrorCode: OperationNotAllowed ErrorMessage: Disk 'disklabvmeastus' is created for Upload. Call BeginGetAccess to
| upload data and EndGetAccess before copying or attaching the disk. ErrorTarget: /subscriptions/<subscriptionID>/resourceGroups/rg-labvm/providers/Microsoft.Compute/disks/disklabvmeastus StatusCode: 409 ReasonPhrase: Conflict
| OperationID : 9228f6dc-0fd9-4873-9a9c-f9f59e215869
[DevSquadInaDay] Done!
To Reproduce
Steps to reproduce the behavior:
Follow the Hands-on tutorial setup instructions until step 5 (create the hands-on lab VM)
Execute the script to create a VM.
Expected behavior
The script should succeed without any errors, and the lab vm should be created under the resource group.
Screenshots
Desktop (please complete the following information):
OS: MacOS Monterey
Browser Edge
Version 100.0.1185.39 (Official build) (x86_64)
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Running the following script results in a couple of errors:
./quickstart/scripts/labvm/Deploy-LabVM.ps1
:To Reproduce
Steps to reproduce the behavior:
Expected behavior
The script should succeed without any errors, and the lab vm should be created under the resource group.
Screenshots
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: