File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ function Get-RegistrationDetailsConnected {
153153
154154 try {
155155 $azureContextDetails = @ {
156- Account = $AzureContext.Account
156+ Account = $AzureContext.Account.Id
157157 Environment = $AzureContext.Environment
158158 Subscription = $AzureContext.Subscription
159159 Tenant = $AzureContext.Tenant
@@ -1618,7 +1618,7 @@ function Get-AzureAccountInfo{
16181618 Log- Output " Gathering info from current Azure Powershell context..."
16191619
16201620 $azureContextDetails = @ {
1621- Account = $AzureContext.Account
1621+ Account = $AzureContext.Account.Id
16221622 Environment = $AzureContext.Environment
16231623 Subscription = $AzureContext.Subscription
16241624 Tenant = $AzureContext.Tenant
@@ -2059,4 +2059,4 @@ Export-ModuleMember Remove-AzsActivationResource
20592059
20602060# Connected functions
20612061Export-ModuleMember Set-AzsRegistration
2062- Export-ModuleMember Remove-AzsRegistration
2062+ Export-ModuleMember Remove-AzsRegistration
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function Get-AzureStackActivationRecord{
7474
7575 $currentContext = Get-AzureRmContext
7676 $contextDetails = @ {
77- Account = $currentContext.Account
77+ Account = $currentContext.Account.Id
7878 Environment = $currentContext.Environment
7979 Subscription = $currentContext.Subscription
8080 Tenant = $currentContext.Tenant
You can’t perform that action at this time.
0 commit comments