Closed nkgami closed 3 years ago
Thanks for identifying this, it solved my problem too.
I'am using powershell 5.1+ and AzureRM 6.13.1 and fixed this issue by replacing Tenant.Id
by TenentId
like that :
Select-AzureRmSubscription -SubscriptionName $rmSubscription.Name -TenantId $rmSubscription.TenantId
Note: As of December 10th 2020, Remote Monitoring solution accelerator is no longer supported. All supporting repositories have been archived.
With Azure PowerShell 4.4.0 or newer, we get exception at Common\Deployment\DeploymentLib.ps1:904 like below.
This is because $rmSubscription doesn't have property 'Tenant', we should use 'TenantId' instead.
With Azure PowerShell 4.2.1 no exception is thrown, but actually we pass null to '-TenantId' and Select-AzureRmSubscription method just ignores this option. Please consider to change 'Tenant.Id' to 'TenantId'.