diff --git a/.github/workflows/dev_api.yml b/.github/workflows/dev_api.yml
index 3d92bc00c7d3..53bae27dbc81 100644
--- a/.github/workflows/dev_api.yml
+++ b/.github/workflows/dev_api.yml
@@ -25,6 +25,67 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
+
+ - name: Setup PowerShell module cache
+ id: cacher
+ uses: actions/cache@v3
+ with:
+ path: "~/.local/share/powershell/Modules"
+ key: ${{ runner.os }}-ModuleBuilder
+
+ - name: Install ModuleBuilder
+ if: steps.cacher.outputs.cache-hit != 'true'
+ shell: pwsh
+ run: |
+ Set-PSRepository PSGallery -InstallationPolicy Trusted
+ Install-Module ModuleBuilder -AllowClobber -Force
+
+ - name: Build CIPPCore Module
+ shell: pwsh
+ run: |
+ $ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CIPPCore"
+ $OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
+
+ Write-Host "Building module from: $ModulePath"
+ Write-Host "Output directory: $OutputPath"
+
+ # Generate function permissions before replacing the source module
+ $ToolsPath = Join-Path $env:GITHUB_WORKSPACE "Tools"
+ $ScriptPath = Join-Path $ToolsPath "Build-FunctionPermissions.ps1"
+ pwsh -File $ScriptPath -ModulePath $ModulePath
+
+ # Build the module using ModuleBuilder
+ Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
+
+ # Replace the source module with the built module
+ Remove-Item -Path $ModulePath -Recurse -Force
+ Copy-Item -Path (Join-Path $OutputPath "CIPPCore") -Destination $ModulePath -Recurse -Force
+
+ Write-Host "Module built and replaced successfully"
+
+ # Clean up output directory
+ Remove-Item -Path $OutputPath -Recurse -Force
+
+ - name: Build CippExtensions Module
+ shell: pwsh
+ run: |
+ $ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CippExtensions"
+ $OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
+
+ Write-Host "Building module from: $ModulePath"
+ Write-Host "Output directory: $OutputPath"
+
+ # Build the module using ModuleBuilder
+ Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
+
+ # Replace the source module with the built module
+ Remove-Item -Path $ModulePath -Recurse -Force
+ Copy-Item -Path (Join-Path $OutputPath "CippExtensions") -Destination $ModulePath -Recurse -Force
+
+ Write-Host "Module built and replaced successfully"
+
+ # Clean up output directory
+ Remove-Item -Path $OutputPath -Recurse -Force
- name: Login to Azure
uses: azure/login@v2
diff --git a/.github/workflows/dev_cippahmcc.yml b/.github/workflows/dev_cippahmcc.yml
deleted file mode 100644
index 545a60fa955e..000000000000
--- a/.github/workflows/dev_cippahmcc.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
-# More GitHub Actions for Azure: https://github.com/Azure/actions
-
-name: Build and deploy Powershell project to Azure Function App - cippahmcc
-
-on:
- push:
- branches:
- - dev
- workflow_dispatch:
-
-env:
- AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
-
-jobs:
- deploy:
- runs-on: windows-latest
-
- steps:
- - name: 'Checkout GitHub Action'
- uses: actions/checkout@v4
-
- - name: 'Run Azure Functions Action'
- uses: Azure/functions-action@v1
- id: fa
- with:
- app-name: 'cippahmcc'
- slot-name: 'Production'
- package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
- publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_D6317AAB492A474D91B7A6CD29E53BA3 }}
\ No newline at end of file
diff --git a/.github/workflows/dev_cippmpiii.yml b/.github/workflows/dev_cippmpiii.yml
deleted file mode 100644
index 6f9742a83d1d..000000000000
--- a/.github/workflows/dev_cippmpiii.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
-# More GitHub Actions for Azure: https://github.com/Azure/actions
-
-name: Build and deploy Powershell project to Azure Function App - cippmpiii
-
-on:
- push:
- branches:
- - dev
- workflow_dispatch:
-
-env:
- AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
-
-jobs:
- deploy:
- runs-on: ubuntu-latest
-
- steps:
- - name: 'Checkout GitHub Action'
- uses: actions/checkout@v4
-
- - name: 'Run Azure Functions Action'
- uses: Azure/functions-action@v1
- id: fa
- with:
- app-name: 'cippmpiii'
- slot-name: 'Production'
- package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
- publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_BC5F21E993034DF2A3793489CE4705E4 }}
\ No newline at end of file
diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml
index b1a2146b9fad..8230488fe999 100644
--- a/.github/workflows/publish_release.yml
+++ b/.github/workflows/publish_release.yml
@@ -17,7 +17,9 @@ jobs:
steps:
# Checkout the repository
- name: Checkout Code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
# Read and Trim Version
- name: Read and Trim Version
@@ -68,6 +70,68 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Setup PowerShell module cache
+ id: cacher
+ uses: actions/cache@v3
+ with:
+ path: "~/.local/share/powershell/Modules"
+ key: ${{ runner.os }}-ModuleBuilder
+
+ - name: Install ModuleBuilder
+ if: steps.cacher.outputs.cache-hit != 'true'
+ shell: pwsh
+ run: |
+ Set-PSRepository PSGallery -InstallationPolicy Trusted
+ Install-Module ModuleBuilder -AllowClobber -Force
+
+ - name: Build CIPPCore Module
+ shell: pwsh
+ run: |
+ $ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CIPPCore"
+ $OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
+
+ Write-Host "Building module from: $ModulePath"
+ Write-Host "Output directory: $OutputPath"
+
+ # Generate function permissions before replacing the source module
+ $ToolsPath = Join-Path $env:GITHUB_WORKSPACE "Tools"
+ $ScriptPath = Join-Path $ToolsPath "Build-FunctionPermissions.ps1"
+ pwsh -File $ScriptPath -ModulePath $ModulePath
+
+ # Build the module using ModuleBuilder
+ Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
+
+ # Replace the source module with the built module
+ Remove-Item -Path $ModulePath -Recurse -Force
+ Copy-Item -Path (Join-Path $OutputPath "CIPPCore") -Destination $ModulePath -Recurse -Force
+
+ Write-Host "Module built and replaced successfully"
+
+ # Clean up output directory
+ Remove-Item -Path $OutputPath -Recurse -Force
+
+ - name: Build CippExtensions Module
+ shell: pwsh
+ run: |
+ $ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CippExtensions"
+ $OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
+
+ Write-Host "Building module from: $ModulePath"
+ Write-Host "Output directory: $OutputPath"
+
+ # Build the module using ModuleBuilder
+ Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
+
+ # Replace the source module with the built module
+ Remove-Item -Path $ModulePath -Recurse -Force
+ Copy-Item -Path (Join-Path $OutputPath "CippExtensions") -Destination $ModulePath -Recurse -Force
+
+ Write-Host "Module built and replaced successfully"
+
+ # Clean up output directory
+ Remove-Item -Path $OutputPath -Recurse -Force
+
+
# Create ZIP File in a New Source Directory
- name: Prepare and Zip Release Files
if: env.tag_exists == 'false'
@@ -91,4 +155,4 @@ jobs:
container_name: cipp-api
source_folder: src/releases/
destination_folder: /
- delete_if_exists: true
\ No newline at end of file
+ delete_if_exists: true
diff --git a/.github/workflows/upload_dev.yml b/.github/workflows/upload_dev.yml
index 4ed3159ff8cf..85048dc9fb61 100644
--- a/.github/workflows/upload_dev.yml
+++ b/.github/workflows/upload_dev.yml
@@ -14,7 +14,69 @@ jobs:
steps:
# Checkout the repository
- name: Checkout Code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
+ - name: Setup PowerShell module cache
+ id: cacher
+ uses: actions/cache@v3
+ with:
+ path: "~/.local/share/powershell/Modules"
+ key: ${{ runner.os }}-ModuleBuilder
+
+ - name: Install ModuleBuilder
+ if: steps.cacher.outputs.cache-hit != 'true'
+ shell: pwsh
+ run: |
+ Set-PSRepository PSGallery -InstallationPolicy Trusted
+ Install-Module ModuleBuilder -AllowClobber -Force
+
+ - name: Build CIPPCore Module
+ shell: pwsh
+ run: |
+ $ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CIPPCore"
+ $OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
+
+ Write-Host "Building module from: $ModulePath"
+ Write-Host "Output directory: $OutputPath"
+
+ # Generate function permissions before replacing the source module
+ $ToolsPath = Join-Path $env:GITHUB_WORKSPACE "Tools"
+ $ScriptPath = Join-Path $ToolsPath "Build-FunctionPermissions.ps1"
+ pwsh -File $ScriptPath -ModulePath $ModulePath
+
+ # Build the module using ModuleBuilder
+ Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
+
+ # Replace the source module with the built module
+ Remove-Item -Path $ModulePath -Recurse -Force
+ Copy-Item -Path (Join-Path $OutputPath "CIPPCore") -Destination $ModulePath -Recurse -Force
+
+ Write-Host "Module built and replaced successfully"
+
+ # Clean up output directory
+ Remove-Item -Path $OutputPath -Recurse -Force
+
+ - name: Build CippExtensions Module
+ shell: pwsh
+ run: |
+ $ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CippExtensions"
+ $OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
+
+ Write-Host "Building module from: $ModulePath"
+ Write-Host "Output directory: $OutputPath"
+
+ # Build the module using ModuleBuilder
+ Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
+
+ # Replace the source module with the built module
+ Remove-Item -Path $ModulePath -Recurse -Force
+ Copy-Item -Path (Join-Path $OutputPath "CippExtensions") -Destination $ModulePath -Recurse -Force
+
+ Write-Host "Module built and replaced successfully"
+
+ # Clean up output directory
+ Remove-Item -Path $OutputPath -Recurse -Force
# Create ZIP File in a New Source Directory
- name: Prepare and Zip Release Files
diff --git a/.gitignore b/.gitignore
index 4bb4cb1069b0..b88925ba01ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,7 @@ Logs
ExcludedTenants
SendNotifications/config.json
.env
-
+Output/
# Cursor IDE
.cursor/rules
diff --git a/CIPPTimers.json b/CIPPTimers.json
index 4bbf8518afc6..0005053fd75c 100644
--- a/CIPPTimers.json
+++ b/CIPPTimers.json
@@ -84,7 +84,7 @@
"Id": "4d80205c-674d-4fc1-abeb-a1ec37e0d796",
"Command": "Start-DriftStandardsOrchestrator",
"Description": "Orchestrator to process drift standards",
- "Cron": "0 0 */1 * * *",
+ "Cron": "0 0 */12 * * *",
"Priority": 5,
"RunOnProcessor": true,
"PreferredProcessor": "standards"
@@ -213,5 +213,14 @@
"Priority": 20,
"RunOnProcessor": true,
"IsSystem": true
+ },
+ {
+ "Id": "b8f3c2e1-5d4a-4f7b-9a2c-1e6d8f3b5a7c",
+ "Command": "Start-BackupRetentionCleanup",
+ "Description": "Timer to cleanup old backups based on retention policy",
+ "Cron": "0 0 2 * * *",
+ "Priority": 21,
+ "RunOnProcessor": true,
+ "IsSystem": true
}
]
diff --git a/Modules/Az.Accounts/4.0.2/.signature.p7s b/Modules/Az.Accounts/4.0.2/.signature.p7s
deleted file mode 100644
index 9be7f47f9af7..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/.signature.p7s and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Accounts.format.ps1xml b/Modules/Az.Accounts/4.0.2/Accounts.format.ps1xml
deleted file mode 100644
index 1b64518e4625..000000000000
--- a/Modules/Az.Accounts/4.0.2/Accounts.format.ps1xml
+++ /dev/null
@@ -1,555 +0,0 @@
-
-
-
-
- AzureErrorRecords
-
- Microsoft.Azure.Commands.Profile.Errors.AzureErrorRecord
- Microsoft.Azure.Commands.Profile.Errors.AzureExceptionRecord
- Microsoft.Azure.Commands.Profile.Errors.AzureRestExceptionRecord
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Errors.AzureRestExceptionRecord
-
- AzureErrorRecords
-
-
- $_.InvocationInfo.HistoryId
-
-
-
-
-
-
-
- ErrorCategory
-
-
- ErrorDetail
-
-
-
- "{" + $_.InvocationInfo.MyCommand + "}"
-
-
-
- $_.InvocationInfo.Line
-
-
-
- $_.InvocationInfo.PositionMessage
-
-
-
- $_.InvocationInfo.BoundParameters
-
-
-
- $_.InvocationInfo.UnboundParameters
-
-
-
- $_.InvocationInfo.HistoryId
-
-
-
-
-
-
- AzureErrorRecords
- $_.GetType() -eq [Microsoft.Azure.Commands.Profile.Errors.AzureRestExceptionRecord]
-
-
-
-
- RequestId
-
-
- Message
-
-
- ServerMessage
-
-
- ServerResponse
-
-
- RequestMessage
-
-
-
- "{" + $_.InvocationInfo.MyCommand + "}"
-
-
-
- $_.InvocationInfo.Line
-
-
-
- $_.InvocationInfo.PositionMessage
-
-
- StackTrace
-
-
-
- $_.InvocationInfo.HistoryId
-
-
-
-
-
-
- AzureErrorRecords
- $_.GetType() -eq [Microsoft.Azure.Commands.Profile.Errors.AzureExceptionRecord]
-
-
-
-
- Message
-
-
- StackTrace
-
-
-
- $_.Exception.GetType()
-
-
-
- "{" + $_.InvocationInfo.MyCommand + "}"
-
-
-
- $_.InvocationInfo.Line
-
-
-
- $_.InvocationInfo.PositionMessage
-
-
-
- $_.InvocationInfo.HistoryId
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.CommonModule.PSAzureServiceProfile
-
- Microsoft.Azure.Commands.Profile.CommonModule.PSAzureServiceProfile
-
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- Name
-
-
- Left
- Description
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAccessToken
-
- Microsoft.Azure.Commands.Profile.Models.PSAccessToken
-
-
-
-
-
-
- Token
-
-
- ExpiresOn
-
-
- Type
-
-
- TenantId
-
-
- UserId
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscriptionPolicy
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscriptionPolicy
-
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- locationPlacementId
-
-
- Left
- QuotaId
-
-
- Left
- SpendingLimit
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
-
-
-
-
-
- Id
-
-
- Type
-
-
- Tenants
-
-
- Credential
-
-
- TenantMap
-
-
- CertificateThumbprint
-
-
-
- $_.ExtendedProperties.GetEnumerator()
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSConfig
-
- Microsoft.Azure.Commands.Profile.Models.PSConfig
-
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- Key
-
-
- Left
- Value
-
-
- Left
- AppliesTo
-
-
- Left
- Scope
-
-
- Left
- HelpMessage
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Modules/Az.Accounts/4.0.2/Accounts.generated.format.ps1xml b/Modules/Az.Accounts/4.0.2/Accounts.generated.format.ps1xml
deleted file mode 100644
index 1594465ce310..000000000000
--- a/Modules/Az.Accounts/4.0.2/Accounts.generated.format.ps1xml
+++ /dev/null
@@ -1,477 +0,0 @@
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureProfile
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureProfile
-
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- if($null -ne $_.Context.Subscription.Name){$_.Context.Subscription.Name}else{$_.Context.Subscription.Id}
-
-
- Left
- if($null -ne $_.Context.Tenant.Name){$_.Context.Tenant.Name}else{$_.Context.Tenant.Id}
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- $_.Subscription.Name
-
-
- Left
- $_.Subscription.Id
-
-
- Left
- Account
-
-
- Left
- Environment
-
-
-
-
-
-
- if([System.String]::IsNullOrEmpty($_.Tenant.Name)){$_.Tenant.Id}else{"$($_.Tenant.Name) ($($_.Tenant.Id))"}
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
-
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- Name
-
-
- Left
- ResourceManagerUrl
-
-
- Left
- ActiveDirectoryAuthority
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- Name
-
-
- Left
- Id
-
-
- Left
- State
-
-
-
-
-
-
- TenantId
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
- Left
-
-
-
-
-
-
-
- Left
- Name
-
-
- Left
- Id
-
-
- Left
- TenantCategory
-
-
- Left
- Domains
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSHttpResponse
-
- Microsoft.Azure.Commands.Profile.Models.PSHttpResponse
-
-
-
-
-
-
- StatusCode
-
-
-
- Content
-
-
-
- [Microsoft.Rest.HttpExtensions]::ToJson($_.Headers).ToString()
-
-
-
- Method
-
-
-
- RequestUri
-
-
-
- Version
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Modules/Az.Accounts/4.0.2/Accounts.types.ps1xml b/Modules/Az.Accounts/4.0.2/Accounts.types.ps1xml
deleted file mode 100644
index b71f31d23490..000000000000
--- a/Modules/Az.Accounts/4.0.2/Accounts.types.ps1xml
+++ /dev/null
@@ -1,307 +0,0 @@
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureProfile
-
-
- PSStandardMembers
-
-
- SerializationDepth
- 10
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- PSStandardMembers
-
-
- SerializationDepth
- 10
-
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.Core.AuthenticationStoreTokenCache
-
-
- PSStandardMembers
-
-
- SerializationMethod
- SpecificProperties
-
-
- PropertySerializationSet
-
- CacheData
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.Core.ProtectedFileTokenCache
-
-
- PSStandardMembers
-
-
- SerializationMethod
- SpecificProperties
-
-
- PropertySerializationSet
-
- CacheData
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- PSStandardMembers
-
-
- SerializationDepth
- 10
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.AzureContextConverter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Modules/Az.Accounts/4.0.2/Az.Accounts.psd1 b/Modules/Az.Accounts/4.0.2/Az.Accounts.psd1
deleted file mode 100644
index 2ab002de9a4d..000000000000
--- a/Modules/Az.Accounts/4.0.2/Az.Accounts.psd1
+++ /dev/null
@@ -1,392 +0,0 @@
-#
-# Module manifest for module 'Az.Accounts'
-#
-# Generated by: Microsoft Corporation
-#
-# Generated on: 1/15/2025
-#
-
-@{
-
-# Script module or binary module file associated with this manifest.
-RootModule = 'Az.Accounts.psm1'
-
-# Version number of this module.
-ModuleVersion = '4.0.2'
-
-# Supported PSEditions
-CompatiblePSEditions = 'Core', 'Desktop'
-
-# ID used to uniquely identify this module
-GUID = '17a2feff-488b-47f9-8729-e2cec094624c'
-
-# Author of this module
-Author = 'Microsoft Corporation'
-
-# Company or vendor of this module
-CompanyName = 'Microsoft Corporation'
-
-# Copyright statement for this module
-Copyright = 'Microsoft Corporation. All rights reserved.'
-
-# Description of the functionality provided by this module
-Description = 'Microsoft Azure PowerShell - Accounts credential management cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.
-
-For more information on account credential management, please visit the following: https://learn.microsoft.com/powershell/azure/authenticate-azureps'
-
-# Minimum version of the PowerShell engine required by this module
-PowerShellVersion = '5.1'
-
-# Name of the PowerShell host required by this module
-# PowerShellHostName = ''
-
-# Minimum version of the PowerShell host required by this module
-# PowerShellHostVersion = ''
-
-# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-DotNetFrameworkVersion = '4.7.2'
-
-# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-# ClrVersion = ''
-
-# Processor architecture (None, X86, Amd64) required by this module
-# ProcessorArchitecture = ''
-
-# Modules that must be imported into the global environment prior to importing this module
-# RequiredModules = @()
-
-# Assemblies that must be loaded prior to importing this module
-RequiredAssemblies = 'Microsoft.Azure.PowerShell.AssemblyLoading.dll',
- 'Microsoft.Azure.PowerShell.Authentication.Abstractions.dll',
- 'Microsoft.Azure.PowerShell.Authentication.dll',
- 'Microsoft.Azure.PowerShell.Authenticators.dll',
- 'Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll',
- 'Microsoft.Azure.PowerShell.Clients.Authorization.dll',
- 'Microsoft.Azure.PowerShell.Clients.Compute.dll',
- 'Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll',
- 'Microsoft.Azure.PowerShell.Clients.Monitor.dll',
- 'Microsoft.Azure.PowerShell.Clients.Network.dll',
- 'Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll',
- 'Microsoft.Azure.PowerShell.Clients.ResourceManager.dll',
- 'Microsoft.Azure.PowerShell.Common.dll',
- 'Microsoft.Azure.PowerShell.Storage.dll',
- 'Microsoft.Azure.PowerShell.Clients.Storage.Management.dll',
- 'Microsoft.Azure.PowerShell.Clients.KeyVault.dll',
- 'Microsoft.Azure.PowerShell.Clients.Websites.dll',
- 'Hyak.Common.dll', 'Microsoft.ApplicationInsights.dll',
- 'Microsoft.Azure.Common.dll', 'Microsoft.Rest.ClientRuntime.dll',
- 'Microsoft.Rest.ClientRuntime.Azure.dll',
- 'Microsoft.WindowsAzure.Storage.dll',
- 'Microsoft.Azure.PowerShell.Clients.Aks.dll',
- 'Microsoft.Azure.PowerShell.Strategies.dll',
- 'Microsoft.Azure.PowerShell.Common.Share.dll', 'FuzzySharp.dll'
-
-# Script files (.ps1) that are run in the caller's environment prior to importing this module.
-# ScriptsToProcess = @()
-
-# Type files (.ps1xml) to be loaded when importing this module
-# TypesToProcess = @()
-
-# Format files (.ps1xml) to be loaded when importing this module
-FormatsToProcess = 'Accounts.format.ps1xml', 'Accounts.generated.format.ps1xml'
-
-# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
-NestedModules = @()
-
-# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
-FunctionsToExport = @()
-
-# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-CmdletsToExport = 'Disable-AzDataCollection', 'Disable-AzContextAutosave',
- 'Enable-AzDataCollection', 'Enable-AzContextAutosave',
- 'Remove-AzEnvironment', 'Get-AzEnvironment', 'Set-AzEnvironment',
- 'Add-AzEnvironment', 'Get-AzSubscription', 'Connect-AzAccount',
- 'Get-AzContext', 'Set-AzContext', 'Import-AzContext', 'Save-AzContext',
- 'Get-AzTenant', 'Send-Feedback', 'Resolve-AzError', 'Select-AzContext',
- 'Rename-AzContext', 'Remove-AzContext', 'Clear-AzContext',
- 'Disconnect-AzAccount', 'Get-AzContextAutosaveSetting',
- 'Set-AzDefault', 'Get-AzDefault', 'Clear-AzDefault',
- 'Register-AzModule', 'Enable-AzureRmAlias', 'Disable-AzureRmAlias',
- 'Uninstall-AzureRm', 'Invoke-AzRestMethod', 'Get-AzAccessToken',
- 'Open-AzSurveyLink', 'Get-AzConfig', 'Update-AzConfig',
- 'Clear-AzConfig', 'Export-AzConfig', 'Import-AzConfig'
-
-# Variables to export from this module
-# VariablesToExport = @()
-
-# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
-AliasesToExport = 'Add-AzAccount', 'Login-AzAccount', 'Remove-AzAccount',
- 'Logout-AzAccount', 'Select-AzSubscription', 'Save-AzProfile',
- 'Get-AzDomain', 'Invoke-AzRest', 'Set-AzConfig'
-
-# DSC resources to export from this module
-# DscResourcesToExport = @()
-
-# List of all modules packaged with this module
-ModuleList = @()
-
-# List of all files packaged with this module
-# FileList = @()
-
-# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
-PrivateData = @{
-
- PSData = @{
-
- # Tags applied to this module. These help with module discovery in online galleries.
- Tags = 'Azure','ResourceManager','ARM','Accounts','Authentication','Environment','Subscription'
-
- # A URL to the license for this module.
- LicenseUri = 'https://aka.ms/azps-license'
-
- # A URL to the main website for this project.
- ProjectUri = 'https://github.com/Azure/azure-powershell'
-
- # A URL to an icon representing this module.
- # IconUri = ''
-
- # ReleaseNotes of this module
- ReleaseNotes = '* Fixed unsigned dll:
- - ''System.Buffers.dll''
- - ''System.Memory.dll'''
-
- # Prerelease string of this module
- # Prerelease = ''
-
- # Flag to indicate whether the module requires explicit user acceptance for install/update/save
- # RequireLicenseAcceptance = $false
-
- # External dependent modules of this module
- # ExternalModuleDependencies = @()
-
- } # End of PSData hashtable
-
- } # End of PrivateData hashtable
-
-# HelpInfo URI of this module
-# HelpInfoURI = ''
-
-# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
-# DefaultCommandPrefix = ''
-
-}
-
-
-# SIG # Begin signature block
-# MIIoVQYJKoZIhvcNAQcCoIIoRjCCKEICAQExDzANBglghkgBZQMEAgEFADB5Bgor
-# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
-# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDK5mtKgkmMpDXq
-# ldT4F01qzQRc+NEC2lnYYNG6at2a8aCCDYUwggYDMIID66ADAgECAhMzAAAEA73V
-# lV0POxitAAAAAAQDMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
-# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
-# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
-# bmcgUENBIDIwMTEwHhcNMjQwOTEyMjAxMTEzWhcNMjUwOTExMjAxMTEzWjB0MQsw
-# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
-# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
-# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
-# AQCfdGddwIOnbRYUyg03O3iz19XXZPmuhEmW/5uyEN+8mgxl+HJGeLGBR8YButGV
-# LVK38RxcVcPYyFGQXcKcxgih4w4y4zJi3GvawLYHlsNExQwz+v0jgY/aejBS2EJY
-# oUhLVE+UzRihV8ooxoftsmKLb2xb7BoFS6UAo3Zz4afnOdqI7FGoi7g4vx/0MIdi
-# kwTn5N56Td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wdV7wL7FhlODyhGhZaeYUsyT
-# +9b2XxkD1UFJcSUmZADUKXW/ekuISVN+Ll8dy5B73Wcc8gDgZlS4WYdGrVBRRsiT
-# MSMVYPhvAfEN5vRpxMNzyxEfLUNOzv1NvJVOxEAFvdnPH0VC09jzXsHGcJn2O4vz
-# rieeNt3/TPQKIjL3vXGJhXJULnNKyFTKNXg7ufSOcrU8XDiT4MZttfKcbT26qkWq
-# PqHQfXqKe1WoAsRp5EgTvJncxu51KhPCApQ0LE8Lm4AB1vgc2pjlaFs5PZs6A2dP
-# 4jEyCLzkm9wBA9QVYTj9Xzmh3Aalit4Uja13YdbO+5e5FNnBZzsVugv6p3K/pJca
-# TvM3ykY3poxXPSUtzomZ/9T4E4YkHfef/YXDn5uQFN7oRyntmZ6YeN6gbTVv5cNP
-# jHenOmojF45YY+wmhUrw0UgAgKPTgAsUQCQK576aolo9OCugLKUlJNPIH8Bhoan+
-# kaTwRxGd9M3O7AYFmfqGQ4UJbOS+Vb/jkMR1x5UjvaFTuXnSWcUkatMnCg33ZWkK
-# iekRiX0Wtme+RLiBtUUFChE9aTU/65Dxe5VEYi6vgn3x02JJNAzbQ5qdAr3i+H5z
-# 5nzxyfPSgoAWmczsWiJo4T8PRZtc/FmrwmpA3TjYihPm8lA+Are5XG+WZiJQe9OY
-# dFS1z/xdasRU
-# SIG # End signature block
diff --git a/Modules/Az.Accounts/4.0.2/Az.Accounts.psm1 b/Modules/Az.Accounts/4.0.2/Az.Accounts.psm1
deleted file mode 100644
index d241cbf09f01..000000000000
--- a/Modules/Az.Accounts/4.0.2/Az.Accounts.psm1
+++ /dev/null
@@ -1,358 +0,0 @@
-#
-# Script module for module 'Az.Accounts' that is executed when 'Az.Accounts' is imported in a PowerShell session.
-#
-# Generated by: Microsoft Corporation
-#
-# Generated on: 01/15/2025 04:43:49
-#
-
-$PSDefaultParameterValues.Clear()
-Set-StrictMode -Version Latest
-
-function Test-DotNet
-{
- try
- {
- if ((Get-PSDrive 'HKLM' -ErrorAction Ignore) -and (-not (Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\' -ErrorAction Stop | Get-ItemPropertyValue -ErrorAction Stop -Name Release | Where-Object { $_ -ge 461808 })))
- {
- throw ".NET Framework versions lower than 4.7.2 are not supported in Az. Please upgrade to .NET Framework 4.7.2 or higher."
- }
- }
- catch [System.Management.Automation.DriveNotFoundException]
- {
- Write-Verbose ".NET Framework version check failed."
- }
-}
-
-function Preload-Assembly {
- param (
- [string]
- $AssemblyDirectory
- )
- if($PSEdition -eq 'Desktop' -and (Test-Path $AssemblyDirectory -ErrorAction Ignore))
- {
- try
- {
- Get-ChildItem -ErrorAction Stop -Path $AssemblyDirectory -Filter "*.dll" | ForEach-Object {
- try
- {
- Add-Type -Path $_.FullName -ErrorAction Ignore | Out-Null
- }
- catch {
- Write-Verbose $_
- }
- }
- }
- catch {}
- }
-}
-
-if ($true -and ($PSEdition -eq 'Desktop'))
-{
- if ($PSVersionTable.PSVersion -lt [Version]'5.1')
- {
- throw "PowerShell versions lower than 5.1 are not supported in Az. Please upgrade to PowerShell 5.1 or higher."
- }
-
- Test-DotNet
-}
-
-
-
-if (Test-Path -Path "$PSScriptRoot\StartupScripts" -ErrorAction Ignore)
-{
- Get-ChildItem "$PSScriptRoot\StartupScripts" -ErrorAction Stop | ForEach-Object {
- . $_.FullName
- }
-}
-
-# [windows powershell] preload assemblies
-if ($PSEdition -eq "Desktop") {
- [Microsoft.Azure.PowerShell.AssemblyLoading.ConditionalAssemblyProvider]::GetAssemblies().Values | ForEach-Object {
- $path = $_.Item1
- try {
- Add-Type -Path $path -ErrorAction Ignore | Out-Null
- }
- catch {
- Write-Verbose "Could not preload $path"
- }
- }
-}
-
-# [windows powershell] preload module alc assemblies
-$preloadPath = (Join-Path $PSScriptRoot -ChildPath "ModuleAlcAssemblies")
-Preload-Assembly -AssemblyDirectory $preloadPath
-
-if (Get-Module AzureRM.profile -ErrorAction Ignore)
-{
- Write-Warning ("AzureRM.Profile already loaded. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. " +
- "If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide.")
- throw ("AzureRM.Profile already loaded. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. " +
- "If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide.")
-}
-
-Import-Module (Join-Path -Path $PSScriptRoot -ChildPath Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll)
-
-
-if (Test-Path -Path "$PSScriptRoot\PostImportScripts" -ErrorAction Ignore)
-{
- Get-ChildItem "$PSScriptRoot\PostImportScripts" -ErrorAction Stop | ForEach-Object {
- . $_.FullName
- }
-}
-
-$FilteredCommands = @()
-
-if ($Env:ACC_CLOUD -eq $null)
-{
- $FilteredCommands | ForEach-Object {
-
- $existingDefault = $false
- foreach ($key in $global:PSDefaultParameterValues.Keys)
- {
- if ($_ -like "$key")
- {
- $existingDefault = $true
- }
- }
-
- if (!$existingDefault)
- {
- $global:PSDefaultParameterValues.Add($_,
- {
- if ((Get-Command Get-AzContext -ErrorAction Ignore) -eq $null)
- {
- $context = Get-AzureRmContext
- }
- else
- {
- $context = Get-AzContext
- }
- if (($context -ne $null) -and $context.ExtendedProperties.ContainsKey("Default Resource Group")) {
- $context.ExtendedProperties["Default Resource Group"]
- }
- })
- }
- }
-}
-
-[Microsoft.Azure.Commands.Profile.Utilities.CommandNotFoundHelper]::RegisterCommandNotFoundAction($ExecutionContext.InvokeCommand)
-
-# SIG # Begin signature block
-# MIIoVQYJKoZIhvcNAQcCoIIoRjCCKEICAQExDzANBglghkgBZQMEAgEFADB5Bgor
-# BgEEAYI3AgEEoGswaTA0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sDha/UflwiQ0tW6YUoZG
-# 2KjxBq1Y1jgZelNbDRiYXfQuc3tSIGMsjh9PL9Md/MSNM2qbpPrUQQu83SXkTTlj
-# oA/cQICaoW4wIhs7QcEUa4KEzeClXIbdh6zsxlMhm4r8zvGxwGLTFs5UAjEHOKcX
-# k1BtH3AfjAoStVkAtvAptiVu6IvF1eYEvmx35ebJom2yZr2tvdxUsoKjZQ9m1+Sw
-# E9+AJOps3QCB6geJRO1dego+hw+UpOC4mMBE+/uhbTb1T9gJVXPJiIwKnZtMuY+I
-# UqJ5sm2RpsGZ9vSo1PnVb56mIQXp4P8SJ8LwIIxkmCHw8gLs//qYoy9MXcBf8Aq9
-# v8rpIh7jet7BHE5zLZiY7pN7BdbGJZBp3hgiyRJTPrYQD9i4vwb6JNRISfMJgAwH
-# 6Hl0BHoOF3wiqaBJ1R7T7mt49uNX/QsIli8jgDNVdtqULQwasDF6RfCfqN+y3SLZ
-# T4PNlqoz3O6D
-# SIG # End signature block
diff --git a/Modules/Az.Accounts/4.0.2/FuzzySharp.dll b/Modules/Az.Accounts/4.0.2/FuzzySharp.dll
deleted file mode 100644
index 701466a04d5e..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/FuzzySharp.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Hyak.Common.dll b/Modules/Az.Accounts/4.0.2/Hyak.Common.dll
deleted file mode 100644
index 18a53248894f..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Hyak.Common.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.ApplicationInsights.dll b/Modules/Az.Accounts/4.0.2/Microsoft.ApplicationInsights.dll
deleted file mode 100644
index 8ef5eef2989d..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.ApplicationInsights.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.Common.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.Common.dll
deleted file mode 100644
index 1c9d8e2a0ef5..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.Common.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.AssemblyLoading.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.AssemblyLoading.dll
deleted file mode 100644
index 619254b637cd..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.AssemblyLoading.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll
deleted file mode 100644
index e40edefc86e3..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
deleted file mode 100644
index dd57fdc38ae0..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.dll
deleted file mode 100644
index 20b86e1ea990..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authentication.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll
deleted file mode 100644
index 2396df000cc2..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authenticators.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authenticators.dll
deleted file mode 100644
index e280f81e6722..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Authenticators.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Aks.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Aks.dll
deleted file mode 100644
index e9dc594738ec..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Aks.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Authorization.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Authorization.dll
deleted file mode 100644
index 7669ecfcddcf..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Authorization.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Compute.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Compute.dll
deleted file mode 100644
index ce750e245544..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Compute.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll
deleted file mode 100644
index 7060d4efbaac..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.KeyVault.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.KeyVault.dll
deleted file mode 100644
index 0862ab671f22..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.KeyVault.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Monitor.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Monitor.dll
deleted file mode 100644
index a66810241270..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Monitor.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Network.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Network.dll
deleted file mode 100644
index 30d7293ef10e..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Network.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll
deleted file mode 100644
index 7daf481f40b6..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll
deleted file mode 100644
index 82ad5ee131a1..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll
deleted file mode 100644
index 48429f19a340..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Websites.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Websites.dll
deleted file mode 100644
index 95f075434894..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Clients.Websites.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll
deleted file mode 100644
index f98315f4fff3..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
deleted file mode 100644
index b8018518d840..000000000000
--- a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
+++ /dev/null
@@ -1,14218 +0,0 @@
-
-
-
-
- Add-AzEnvironment
- Add
- AzEnvironment
-
- Adds endpoints and metadata for an instance of Azure Resource Manager.
-
-
-
- The Add-AzEnvironment cmdlet adds endpoints and metadata to enable Azure Resource Manager cmdlets to connect with a new instance of Azure Resource Manager. The built-in environments AzureCloud and AzureChinaCloud target existing public instances of Azure Resource Manager.
-
-
-
- Add-AzEnvironment
-
- Name
-
- Specifies the name of the environment to add.
-
- System.String
-
- System.String
-
-
- None
-
-
- PublishSettingsFileUrl
-
- Specifies the URL from which .publishsettings files can be downloaded.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultDnsSuffix
-
- Dns suffix of Azure Key Vault service. Example is vault-int.azure-int.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- Resource identifier of Azure Key Vault data service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- TrafficManagerDnsSuffix
-
- Specifies the domain-name suffix for Azure Traffic Manager services.
-
- System.String
-
- System.String
-
-
- None
-
-
- SqlDatabaseDnsSuffix
-
- Specifies the domain-name suffix for Azure SQL Database servers.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeStoreFileSystemEndpointSuffix
-
- Dns Suffix of Azure Data Lake Store FileSystem. Example: azuredatalake.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
-
- Dns Suffix of Azure Data Lake Analytics job and catalog services
-
- System.String
-
- System.String
-
-
- None
-
-
- EnableAdfsAuthentication
-
- Indicates that Active Directory Federation Services (ADFS) on-premise authentication is allowed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- AdTenant
-
- Specifies the default Active Directory tenant.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphAudience
-
- The audience for tokens authenticating with the AD Graph Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- DataLakeAudience
-
- The audience for tokens authenticating with the AD Data Lake services Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- ServiceEndpoint
-
- Specifies the endpoint for Service Management (RDFE) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- BatchEndpointResourceId
-
- The resource identifier of the Azure Batch service that is the recipient of the requested token
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpointResourceId
-
- The audience for tokens authenticating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpoint
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- ManagementPortalUrl
-
- Specifies the URL for the Management Portal.
-
- System.String
-
- System.String
-
-
- None
-
-
- StorageEndpoint
-
- Specifies the endpoint for storage (blob, table, queue, and file) access.
-
- System.String
-
- System.String
-
-
- None
-
-
- ActiveDirectoryEndpoint
-
- Specifies the base authority for Azure Active Directory authentication.
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceManagerEndpoint
-
- Specifies the URL for Azure Resource Manager requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery of deployment templates. The parameter is to set the value to `GalleryUrl` of `PSAzureEnvironment`. As `GalleryUrl` is removed from ArmMetadata, Azure PowerShell will no longer provide for the value and so it is not recommended to set `GalleryEndpoint` anymore.
-
- System.String
-
- System.String
-
-
- None
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the audience for tokens that authenticate requests to Azure Resource Manager or Service Management (RDFE) endpoints.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphEndpoint
-
- Specifies the URL for Graph (Active Directory metadata) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointResourceId
-
- The resource identifier of the Azure Analysis Services resource.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointSuffix
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointResourceId
-
- The resource identifier of the Azure Attestation service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointSuffix
-
- Dns suffix of Azure Attestation service.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointResourceId
-
- The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointSuffix
-
- Dns suffix of Azure Synapse Analytics.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContainerRegistryEndpointSuffix
-
- Suffix of Azure Container Registry.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- MicrosoftGraphEndpointResourceId
-
- The resource identifier of Microsoft Graph
-
- System.String
-
- System.String
-
-
- None
-
-
- MicrosoftGraphUrl
-
- Microsoft Graph Url
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Add-AzEnvironment
-
- Name
-
- Specifies the name of the environment to add.
-
- System.String
-
- System.String
-
-
- None
-
-
- ARMEndpoint
-
- The Azure Resource Manager endpoint
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultDnsSuffix
-
- Dns suffix of Azure Key Vault service. Example is vault-int.azure-int.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- Resource identifier of Azure Key Vault data service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- DataLakeAudience
-
- The audience for tokens authenticating with the AD Data Lake services Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- BatchEndpointResourceId
-
- The resource identifier of the Azure Batch service that is the recipient of the requested token
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpointResourceId
-
- The audience for tokens authenticating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpoint
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- StorageEndpoint
-
- Specifies the endpoint for storage (blob, table, queue, and file) access.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointResourceId
-
- The resource identifier of the Azure Analysis Services resource.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointSuffix
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointResourceId
-
- The resource identifier of the Azure Attestation service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointSuffix
-
- Dns suffix of Azure Attestation service.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointResourceId
-
- The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointSuffix
-
- Dns suffix of Azure Synapse Analytics.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContainerRegistryEndpointSuffix
-
- Suffix of Azure Container Registry.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Add-AzEnvironment
-
- AutoDiscover
-
- Discovers environments via default or configured endpoint.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Uri
-
- Specifies URI of the internet resource to fetch environments.
-
- System.Uri
-
- System.Uri
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- ActiveDirectoryEndpoint
-
- Specifies the base authority for Azure Active Directory authentication.
-
- System.String
-
- System.String
-
-
- None
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the audience for tokens that authenticate requests to Azure Resource Manager or Service Management (RDFE) endpoints.
-
- System.String
-
- System.String
-
-
- None
-
-
- AdTenant
-
- Specifies the default Active Directory tenant.
-
- System.String
-
- System.String
-
-
- None
-
-
- ARMEndpoint
-
- The Azure Resource Manager endpoint
-
- System.String
-
- System.String
-
-
- None
-
-
- AutoDiscover
-
- Discovers environments via default or configured endpoint.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- AzureAnalysisServicesEndpointResourceId
-
- The resource identifier of the Azure Analysis Services resource.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointSuffix
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointResourceId
-
- The resource identifier of the Azure Attestation service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointSuffix
-
- Dns suffix of Azure Attestation service.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
-
- Dns Suffix of Azure Data Lake Analytics job and catalog services
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeStoreFileSystemEndpointSuffix
-
- Dns Suffix of Azure Data Lake Store FileSystem. Example: azuredatalake.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultDnsSuffix
-
- Dns suffix of Azure Key Vault service. Example is vault-int.azure-int.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- Resource identifier of Azure Key Vault data service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpoint
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpointResourceId
-
- The audience for tokens authenticating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointResourceId
-
- The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointSuffix
-
- Dns suffix of Azure Synapse Analytics.
-
- System.String
-
- System.String
-
-
- None
-
-
- BatchEndpointResourceId
-
- The resource identifier of the Azure Batch service that is the recipient of the requested token
-
- System.String
-
- System.String
-
-
- None
-
-
- ContainerRegistryEndpointSuffix
-
- Suffix of Azure Container Registry.
-
- System.String
-
- System.String
-
-
- None
-
-
- DataLakeAudience
-
- The audience for tokens authenticating with the AD Data Lake services Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- EnableAdfsAuthentication
-
- Indicates that Active Directory Federation Services (ADFS) on-premise authentication is allowed.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery of deployment templates. The parameter is to set the value to `GalleryUrl` of `PSAzureEnvironment`. As `GalleryUrl` is removed from ArmMetadata, Azure PowerShell will no longer provide for the value and so it is not recommended to set `GalleryEndpoint` anymore.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphAudience
-
- The audience for tokens authenticating with the AD Graph Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphEndpoint
-
- Specifies the URL for Graph (Active Directory metadata) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- ManagementPortalUrl
-
- Specifies the URL for the Management Portal.
-
- System.String
-
- System.String
-
-
- None
-
-
- MicrosoftGraphEndpointResourceId
-
- The resource identifier of Microsoft Graph
-
- System.String
-
- System.String
-
-
- None
-
-
- MicrosoftGraphUrl
-
- Microsoft Graph Url
-
- System.String
-
- System.String
-
-
- None
-
-
- Name
-
- Specifies the name of the environment to add.
-
- System.String
-
- System.String
-
-
- None
-
-
- PublishSettingsFileUrl
-
- Specifies the URL from which .publishsettings files can be downloaded.
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceManagerEndpoint
-
- Specifies the URL for Azure Resource Manager requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- ServiceEndpoint
-
- Specifies the endpoint for Service Management (RDFE) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- SqlDatabaseDnsSuffix
-
- Specifies the domain-name suffix for Azure SQL Database servers.
-
- System.String
-
- System.String
-
-
- None
-
-
- StorageEndpoint
-
- Specifies the endpoint for storage (blob, table, queue, and file) access.
-
- System.String
-
- System.String
-
-
- None
-
-
- TrafficManagerDnsSuffix
-
- Specifies the domain-name suffix for Azure Traffic Manager services.
-
- System.String
-
- System.String
-
-
- None
-
-
- Uri
-
- Specifies URI of the internet resource to fetch environments.
-
- System.Uri
-
- System.Uri
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
- System.Management.Automation.SwitchParameter
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
- ----- Example 1: Creating and modifying a new environment -----
- Add-AzEnvironment -Name TestEnvironment `
- -ActiveDirectoryEndpoint TestADEndpoint `
- -ActiveDirectoryServiceEndpointResourceId TestADApplicationId `
- -ResourceManagerEndpoint TestRMEndpoint `
- -GalleryEndpoint TestGalleryEndpoint `
- -GraphEndpoint TestGraphEndpoint
-
-Name Resource Manager Url ActiveDirectory Authority
----- -------------------- -------------------------
-TestEnvironment TestRMEndpoint TestADEndpoint/
-
-Set-AzEnvironment -Name TestEnvironment `
- -ActiveDirectoryEndpoint NewTestADEndpoint `
- -GraphEndpoint NewTestGraphEndpoint | Format-List
-
-Name : TestEnvironment
-EnableAdfsAuthentication : False
-OnPremise : False
-ActiveDirectoryServiceEndpointResourceId : TestADApplicationId
-AdTenant :
-GalleryUrl : TestGalleryEndpoint
-ManagementPortalUrl :
-ServiceManagementUrl :
-PublishSettingsFileUrl :
-ResourceManagerUrl : TestRMEndpoint
-SqlDatabaseDnsSuffix :
-StorageEndpointSuffix :
-ActiveDirectoryAuthority : NewTestADEndpoint
-GraphUrl : NewTestGraphEndpoint
-GraphEndpointResourceId :
-TrafficManagerDnsSuffix :
-AzureKeyVaultDnsSuffix :
-DataLakeEndpointResourceId :
-AzureDataLakeStoreFileSystemEndpointSuffix :
-AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
-AzureKeyVaultServiceEndpointResourceId :
-AzureOperationalInsightsEndpointResourceId :
-AzureOperationalInsightsEndpoint :
-AzureAnalysisServicesEndpointSuffix :
-AzureAttestationServiceEndpointSuffix :
-AzureAttestationServiceEndpointResourceId :
-AzureSynapseAnalyticsEndpointSuffix :
-AzureSynapseAnalyticsEndpointResourceId :
-VersionProfiles : {}
-ExtendedProperties : {}
-BatchEndpointResourceId :
-
- In this example we are creating a new Azure environment with sample endpoints using Add-AzEnvironment, and then we are changing the value of the ActiveDirectoryEndpoint and GraphEndpoint attributes of the created environment using the cmdlet Set-AzEnvironment.
-
-
-
-
-
- ------- Example 2: Discovering a new environment via Uri -------
- <#
-Uri https://configuredmetadata.net returns an array of environment metadata. The following example contains a payload for the AzureCloud default environment.
-
-[
- {
- "portal": "https://portal.azure.com",
- "authentication": {
- "loginEndpoint": "https://login.microsoftonline.com/",
- "audiences": [
- "https://management.core.windows.net/"
- ],
- "tenant": "common",
- "identityProvider": "AAD"
- },
- "media": "https://rest.media.azure.net",
- "graphAudience": "https://graph.windows.net/",
- "graph": "https://graph.windows.net/",
- "name": "AzureCloud",
- "suffixes": {
- "azureDataLakeStoreFileSystem": "azuredatalakestore.net",
- "acrLoginServer": "azurecr.io",
- "sqlServerHostname": ".database.windows.net",
- "azureDataLakeAnalyticsCatalogAndJob": "azuredatalakeanalytics.net",
- "keyVaultDns": "vault.azure.net",
- "storage": "core.windows.net",
- "azureFrontDoorEndpointSuffix": "azurefd.net"
- },
- "batch": "https://batch.core.windows.net/",
- "resourceManager": "https://management.azure.com/",
- "vmImageAliasDoc": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json",
- "activeDirectoryDataLake": "https://datalake.azure.net/",
- "sqlManagement": "https://management.core.windows.net:8443/",
- "gallery": "https://gallery.azure.com/"
- },
-……
-]
-#>
-
-Add-AzEnvironment -AutoDiscover -Uri https://configuredmetadata.net
-
-Name Resource Manager Url ActiveDirectory Authority
----- -------------------- -------------------------
-TestEnvironment TestRMEndpoint TestADEndpoint/
-
- In this example, we are discovering a new Azure environment from the `https://configuredmetadata.net` Uri.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/add-azenvironment
-
-
- Get-AzEnvironment
-
-
-
- Remove-AzEnvironment
-
-
-
- Set-AzEnvironment
-
-
-
-
-
-
- Clear-AzConfig
- Clear
- AzConfig
-
- Clears the values of configs that are set by the user.
-
-
-
- Clears the values of configs that are set by the user. By default all the configs will be cleared. You can also specify keys of configs to clear.
-
-
-
- Clear-AzConfig
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- CheckForUpgrade
-
- When enabled, Azure PowerShell will check for updates automatically and display a hint message when an update is available. The default value is true.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- DefaultSubscriptionForLogin
-
- Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisableInstanceDiscovery
-
- Set it to true to disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack. The process of instance discovery entails retrieving authority metadata from https://login.microsoft.com/ to validate the authority. By setting this to true, the validation of the authority is disabled. As a result, it is crucial to ensure that the configured authority host is valid and trustworthy.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayBreakingChangeWarning
-
- Controls if warning messages for breaking changes are displayed or suppressed. When enabled, a breaking change warning is displayed when executing cmdlets with breaking changes in a future release.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayRegionIdentified
-
- When enabled, Azure PowerShell displays recommendations on regions which may reduce your costs.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySecretsWarning
-
- When enabled, a warning message will be displayed when the cmdlet output contains secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySurveyMessage
-
- When enabled, you are prompted infrequently to participate in user experience surveys for Azure PowerShell.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableDataCollection
-
- When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience. For more information, see our privacy statement: https://aka.ms/privacy
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableErrorRecordsPersistence
-
- When enabled, error records will be written to ~/.Azure/ErrorRecords.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableLoginByWam
-
- [Preview] When enabled, Web Account Manager (WAM) will be the default interactive login experience. It will fall back to using the browser if the platform does not support WAM. Note that this feature is under preview. Microsoft Account (MSA) is currently not supported. Feel free to reach out to Azure PowerShell team if you have any feedbacks: https://aka.ms/azpsissue
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- LoginExperienceV2
-
- Only active when authenticating interactively, allows the user to choose the subscription and tenant used in subsequent commands. Possible values ad 'On' (Default) and 'Off'. 'On' requires user's input. 'Off' will use the first tenant and subscription returned by Azure, can change without notice and lead to command execution in an unwanted context (not recommended).
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Returns true if cmdlet executes correctly.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
-
- CurrentUser
- Process
- Default
- Environment
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Clear-AzConfig
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Do not ask for confirmation when clearing all configs.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Returns true if cmdlet executes correctly.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
-
- CurrentUser
- Process
- Default
- Environment
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- CheckForUpgrade
-
- When enabled, Azure PowerShell will check for updates automatically and display a hint message when an update is available. The default value is true.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- DefaultSubscriptionForLogin
-
- Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisableInstanceDiscovery
-
- Set it to true to disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack. The process of instance discovery entails retrieving authority metadata from https://login.microsoft.com/ to validate the authority. By setting this to true, the validation of the authority is disabled. As a result, it is crucial to ensure that the configured authority host is valid and trustworthy.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayBreakingChangeWarning
-
- Controls if warning messages for breaking changes are displayed or suppressed. When enabled, a breaking change warning is displayed when executing cmdlets with breaking changes in a future release.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayRegionIdentified
-
- When enabled, Azure PowerShell displays recommendations on regions which may reduce your costs.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySecretsWarning
-
- When enabled, a warning message will be displayed when the cmdlet output contains secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySurveyMessage
-
- When enabled, you are prompted infrequently to participate in user experience surveys for Azure PowerShell.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableDataCollection
-
- When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience. For more information, see our privacy statement: https://aka.ms/privacy
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableErrorRecordsPersistence
-
- When enabled, error records will be written to ~/.Azure/ErrorRecords.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableLoginByWam
-
- [Preview] When enabled, Web Account Manager (WAM) will be the default interactive login experience. It will fall back to using the browser if the platform does not support WAM. Note that this feature is under preview. Microsoft Account (MSA) is currently not supported. Feel free to reach out to Azure PowerShell team if you have any feedbacks: https://aka.ms/azpsissue
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Force
-
- Do not ask for confirmation when clearing all configs.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- LoginExperienceV2
-
- Only active when authenticating interactively, allows the user to choose the subscription and tenant used in subsequent commands. Possible values ad 'On' (Default) and 'Off'. 'On' requires user's input. 'Off' will use the first tenant and subscription returned by Azure, can change without notice and lead to command execution in an unwanted context (not recommended).
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Returns true if cmdlet executes correctly.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Clear-AzConfig -Force
-
- Clear all the configs. `-Force` suppresses the prompt for confirmation.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Clear-AzConfig -EnableDataCollection
-
- Clear the "EnableDataCollection" config.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/clear-azconfig
-
-
-
-
-
- Clear-AzContext
- Clear
- AzContext
-
- Remove all Azure credentials, account, and subscription information.
-
-
-
- Remove all Azure Credentials, account, and subscription information.
-
-
-
- Clear-AzContext
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Delete all users and groups from the global scope without prompting
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Return a value indicating success or failure
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Clear the context only for the current PowerShell session, or for all sessions.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Delete all users and groups from the global scope without prompting
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Return a value indicating success or failure
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Clear the context only for the current PowerShell session, or for all sessions.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
- --------------- Example 1: Clear global context ---------------
- Clear-AzContext -Scope CurrentUser
-
- Remove all account, subscription, and credential information for any powershell session.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/clear-azcontext
-
-
-
-
-
- Clear-AzDefault
- Clear
- AzDefault
-
- Clears the defaults set by the user in the current context.
-
-
-
- The Clear-AzDefault cmdlet removes the defaults set by the user depending on the switch parameters specified by the user.
-
-
-
- Clear-AzDefault
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Remove all defaults if no default is specified
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- {{Fill PassThru Description}}
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ResourceGroup
-
- Clear Default Resource Group
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Remove all defaults if no default is specified
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- {{Fill PassThru Description}}
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ResourceGroup
-
- Clear Default Resource Group
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.Management.Automation.SwitchParameter
-
-
-
-
-
-
-
-
-
- System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Clear-AzDefault
-
- This command removes all the defaults set by the user in the current context.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Clear-AzDefault -ResourceGroup
-
- This command removes the default resource group set by the user in the current context.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/clear-azdefault
-
-
-
-
-
- Connect-AzAccount
- Connect
- AzAccount
-
- Connect to Azure with an authenticated account for use with cmdlets from the Az PowerShell modules.
-
-
-
- The `Connect-AzAccount` cmdlet connects to Azure with an authenticated account for use with cmdlets from the Az PowerShell modules. You can use this authenticated account only with Azure Resource Manager requests. To add an authenticated account for use with Service Management, use the `Add-AzureAccount` cmdlet from the Azure PowerShell module. If no context is found for the current user, the user's context list is populated with a context for each of their first 25 subscriptions. The list of contexts created for the user can be found by running `Get-AzContext -ListAvailable`. To skip this context population, specify the SkipContextPopulation switch parameter. After executing this cmdlet, you can disconnect from an Azure account using `Disconnect-AzAccount`.
-
-
-
- Connect-AzAccount
-
- AccessToken
-
- Specifies an access token.
- > [!CAUTION] > Access tokens are a type of credential. You should take the appropriate security precautions to > keep them confidential. Access tokens also timeout and may prevent long running tasks from > completing.
-
- System.String
-
- System.String
-
-
- None
-
-
- AccountId
-
- Id for Account, associated with your access token. In User authentication flows, the AccountId is user name / user id; In AccessToken flow, it is the AccountId for the access token; In ManagedService flow, it is the associated client Id of UserAssigned identity. To use the SystemAssigned identity, leave this field blank.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- GraphAccessToken
-
- AccessToken for Graph Service.
-
- System.String
-
- System.String
-
-
- None
-
-
- KeyVaultAccessToken
-
- AccessToken for KeyVault Service.
-
- System.String
-
- System.String
-
-
- None
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- MicrosoftGraphAccessToken
-
- Access token to Microsoft Graph
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipValidation
-
- Skip validation for access token.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- AccountId
-
- Id for Account, associated with your access token. In User authentication flows, the AccountId is user name / user id; In AccessToken flow, it is the AccountId for the access token; In ManagedService flow, it is the associated client Id of UserAssigned identity. To use the SystemAssigned identity, leave this field blank.
-
- System.String
-
- System.String
-
-
- None
-
-
- AuthScope
-
- Optional OAuth scope for login, supported pre-defined values: AadGraph, AnalysisServices, Attestation, Batch, DataLake, KeyVault, OperationalInsights, Storage, Synapse. It also supports resource id like `https://storage.azure.com/`.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- UseDeviceAuthentication
-
- Use device code authentication instead of a browser control.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- AccountId
-
- Id for Account, associated with your access token. In User authentication flows, the AccountId is user name / user id; In AccessToken flow, it is the AccountId for the access token; In ManagedService flow, it is the associated client Id of UserAssigned identity. To use the SystemAssigned identity, leave this field blank.
-
- System.String
-
- System.String
-
-
- None
-
-
- AuthScope
-
- Optional OAuth scope for login, supported pre-defined values: AadGraph, AnalysisServices, Attestation, Batch, DataLake, KeyVault, OperationalInsights, Storage, Synapse. It also supports resource id like `https://storage.azure.com/`.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Identity
-
- Login using a Managed Service Identity.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- ApplicationId
-
- Application ID of the service principal.
-
- System.String
-
- System.String
-
-
- None
-
-
- AuthScope
-
- Optional OAuth scope for login, supported pre-defined values: AadGraph, AnalysisServices, Attestation, Batch, DataLake, KeyVault, OperationalInsights, Storage, Synapse. It also supports resource id like `https://storage.azure.com/`.
-
- System.String
-
- System.String
-
-
- None
-
-
- CertificateThumbprint
-
- Certificate Hash or Thumbprint.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SendCertificateChain
-
- Specifies if the x5c claim (public key of the certificate) should be sent to the STS to achieve easy certificate rollover in Azure AD.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ServicePrincipal
-
- Indicates that this account authenticates by providing service principal credentials.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- ApplicationId
-
- Application ID of the service principal.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- FederatedToken
-
- Specifies a token provided by another identity provider. The issuer and subject in this token must be first configured to be trusted by the ApplicationId.
- > [!CAUTION] > Federated tokens are a type of credential. You should take the appropriate security precautions to keep them confidential. Federated tokens also timeout and may prevent long running tasks from completing.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- ServicePrincipal
-
- Indicates that this account authenticates by providing service principal credentials.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- ApplicationId
-
- Application ID of the service principal.
-
- System.String
-
- System.String
-
-
- None
-
-
- CertificatePassword
-
- The password required to access the pkcs#12 certificate file.
-
- System.Security.SecureString
-
- System.Security.SecureString
-
-
- None
-
-
- CertificatePath
-
- The path of certficate file in pkcs#12 format.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SendCertificateChain
-
- Specifies if the x5c claim (public key of the certificate) should be sent to the STS to achieve easy certificate rollover in Azure AD.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ServicePrincipal
-
- Indicates that this account authenticates by providing service principal credentials.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- AuthScope
-
- Optional OAuth scope for login, supported pre-defined values: AadGraph, AnalysisServices, Attestation, Batch, DataLake, KeyVault, OperationalInsights, Storage, Synapse. It also supports resource id like `https://storage.azure.com/`.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- Credential
-
- Specifies a PSCredential object. For more information about the PSCredential object, type `Get-Help Get-Credential`. The PSCredential object provides the user ID and password for organizational ID credentials, or the application ID and secret for service principal credentials.
-
- System.Management.Automation.PSCredential
-
- System.Management.Automation.PSCredential
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- ServicePrincipal
-
- Indicates that this account authenticates by providing service principal credentials.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Connect-AzAccount
-
- AuthScope
-
- Optional OAuth scope for login, supported pre-defined values: AadGraph, AnalysisServices, Attestation, Batch, DataLake, KeyVault, OperationalInsights, Storage, Synapse. It also supports resource id like `https://storage.azure.com/`.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- Credential
-
- Specifies a PSCredential object. For more information about the PSCredential object, type `Get-Help Get-Credential`. The PSCredential object provides the user ID and password for organizational ID credentials, or the application ID and secret for service principal credentials.
-
- System.Management.Automation.PSCredential
-
- System.Management.Automation.PSCredential
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- AccessToken
-
- Specifies an access token.
- > [!CAUTION] > Access tokens are a type of credential. You should take the appropriate security precautions to > keep them confidential. Access tokens also timeout and may prevent long running tasks from > completing.
-
- System.String
-
- System.String
-
-
- None
-
-
- AccountId
-
- Id for Account, associated with your access token. In User authentication flows, the AccountId is user name / user id; In AccessToken flow, it is the AccountId for the access token; In ManagedService flow, it is the associated client Id of UserAssigned identity. To use the SystemAssigned identity, leave this field blank.
-
- System.String
-
- System.String
-
-
- None
-
-
- ApplicationId
-
- Application ID of the service principal.
-
- System.String
-
- System.String
-
-
- None
-
-
- AuthScope
-
- Optional OAuth scope for login, supported pre-defined values: AadGraph, AnalysisServices, Attestation, Batch, DataLake, KeyVault, OperationalInsights, Storage, Synapse. It also supports resource id like `https://storage.azure.com/`.
-
- System.String
-
- System.String
-
-
- None
-
-
- CertificatePassword
-
- The password required to access the pkcs#12 certificate file.
-
- System.Security.SecureString
-
- System.Security.SecureString
-
-
- None
-
-
- CertificatePath
-
- The path of certficate file in pkcs#12 format.
-
- System.String
-
- System.String
-
-
- None
-
-
- CertificateThumbprint
-
- Certificate Hash or Thumbprint.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContextName
-
- Name of the default Azure context for this login. For more information about Azure contexts, see Azure PowerShell context objects (/powershell/azure/context-persistence).
-
- System.String
-
- System.String
-
-
- None
-
-
- Credential
-
- Specifies a PSCredential object. For more information about the PSCredential object, type `Get-Help Get-Credential`. The PSCredential object provides the user ID and password for organizational ID credentials, or the application ID and secret for service principal credentials.
-
- System.Management.Automation.PSCredential
-
- System.Management.Automation.PSCredential
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Environment
-
- Environment containing the Azure account.
-
- System.String
-
- System.String
-
-
- None
-
-
- FederatedToken
-
- Specifies a token provided by another identity provider. The issuer and subject in this token must be first configured to be trusted by the ApplicationId.
- > [!CAUTION] > Federated tokens are a type of credential. You should take the appropriate security precautions to keep them confidential. Federated tokens also timeout and may prevent long running tasks from completing.
-
- System.String
-
- System.String
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name without prompting.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- GraphAccessToken
-
- AccessToken for Graph Service.
-
- System.String
-
- System.String
-
-
- None
-
-
- Identity
-
- Login using a Managed Service Identity.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- KeyVaultAccessToken
-
- AccessToken for KeyVault Service.
-
- System.String
-
- System.String
-
-
- None
-
-
- MaxContextPopulation
-
- Max subscription number to populate contexts after login. Default is 25. To populate all subscriptions to contexts, set to -1.
-
- System.Int32
-
- System.Int32
-
-
- None
-
-
- MicrosoftGraphAccessToken
-
- Access token to Microsoft Graph
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SendCertificateChain
-
- Specifies if the x5c claim (public key of the certificate) should be sent to the STS to achieve easy certificate rollover in Azure AD.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ServicePrincipal
-
- Indicates that this account authenticates by providing service principal credentials.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipContextPopulation
-
- Skips context population if no contexts are found.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- SkipValidation
-
- Skip validation for access token.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Subscription
-
- Subscription Name or ID.
-
- System.String
-
- System.String
-
-
- None
-
-
- Tenant
-
- Optional tenant name or ID.
- > [!NOTE] > Due to limitations of the current API, you must use a tenant ID instead of a tenant name when > connecting with a business-to-business (B2B) account.
-
- System.String
-
- System.String
-
-
- None
-
-
- UseDeviceAuthentication
-
- Use device code authentication instead of a browser control.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
- ------------ Example 1: Connect to an Azure account ------------
- Connect-AzAccount
-
-Please select the account you want to login with.
-
-Retrieving subscriptions for the selection...
-[Tenant and subscription selection]
-
-No Subscription name Subscription ID Tenant domain name
----- ------------------------------------ ---------------------------------------- --------------------------
-[1] Subscription1 xxxx-xxxx-xxxx-xxxx xxxxxxxxx.xxxxxxxxxxx.com
-[2] Subscription2 xxxx-xxxx-xxxx-xxxx xxxxxxxxx.xxxxxxxxxxx.com
-...
-[9] Subscription9 xxxx-xxxx-xxxx-xxxx xxxxxxxxx.xxxxxxxxxxx.com
-
-Select a tenant and subscription: 1 <requires user's input here>
-
-Subscription name Tenant domain name
------------------------------------- --------------------------
-Subscription1 xxxxxxxxx.xxxxxxxxxxx.com
-
-[Announcements]
-Share your feedback regarding your experience with `Connect-AzAccount` at: https://aka.ms/azloginfeedback
-
-If you encounter any problem, please open an issue at: https://aka.ms/azpsissue
-
-SubscriptionName Tenant
------------------ ------
-Subscription1 xxxxxxxxx.xxxxxxxxxxx.com
-
-
-
-
-
-
-
- Example 2: Connect to Azure using organizational ID credentials
- $Credential = Get-Credential
-Connect-AzAccount -Credential $Credential
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
-
-
-
-
-
-
- Example 3: Connect to Azure using a service principal account
- $SecurePassword = Read-Host -Prompt 'Enter a Password' -AsSecureString
-$TenantId = 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy'
-$ApplicationId = 'zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzz'
-$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $ApplicationId, $SecurePassword
-Connect-AzAccount -ServicePrincipal -TenantId $TenantId -Credential $Credential
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-xxxx-xxxx-xxxx-xxxx Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
-
-
-
-
-
-
- Example 4: Use an interactive login to connect to a specific tenant and subscription
- Connect-AzAccount -Tenant 'xxxx-xxxx-xxxx-xxxx' -SubscriptionId 'yyyy-yyyy-yyyy-yyyy'
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
-
-
-
-
-
-
- ----- Example 5: Connect using a Managed Service Identity -----
- Connect-AzAccount -Identity
-Set-AzContext -Subscription Subscription1
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-MSI@50342 Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
-
-
-
-
-
-
- Example 6: Connect using Managed Service Identity login and ClientId
- $identity = Get-AzUserAssignedIdentity -ResourceGroupName 'myResourceGroup' -Name 'myUserAssignedIdentity'
-Get-AzVM -ResourceGroupName contoso -Name testvm | Update-AzVM -IdentityType UserAssigned -IdentityId $identity.Id
-Connect-AzAccount -Identity -AccountId $identity.ClientId # Run on the virtual machine
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-yyyy-yyyy-yyyy-yyyy Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
-
-
-
-
-
-
- ------------ Example 7: Connect using certificates ------------
- $Thumbprint = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
-$TenantId = 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy'
-$ApplicationId = '00000000-0000-0000-0000-00000000'
-Connect-AzAccount -CertificateThumbprint $Thumbprint -ApplicationId $ApplicationId -Tenant $TenantId -ServicePrincipal
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-xxxxxxxx-xxxx-xxxx-xxxxxxxxx Subscription1 yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy AzureCloud
-
-Account : xxxxxxxx-xxxx-xxxx-xxxxxxxx
-SubscriptionName : MyTestSubscription
-SubscriptionId : zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzz
-TenantId : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy
-Environment : AzureCloud
-
-
-
-
-
-
-
- -------------- Example 8: Connect with AuthScope --------------
- Connect-AzAccount -AuthScope Storage
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-yyyy-yyyy-yyyy-yyyy Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
-
-
-
-
-
-
- ---------- Example 9: Connect using certificate file ----------
- $SecurePassword = ConvertTo-SecureString -String "****" -AsPlainText -Force
-$TenantId = 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy'
-$ApplicationId = 'zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzz'
-Connect-AzAccount -ServicePrincipal -ApplicationId $ApplicationId -TenantId $TenantId -CertificatePath './certificatefortest.pfx' -CertificatePassword $securePassword
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-xxxxxxxx-xxxx-xxxx-xxxxxxxx Subscription1 yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy AzureCloud
-
-
-
-
-
-
-
- --------- Example 10: Connect interactively using WAM ---------
- Update-AzConfig -EnableLoginByWam $true
-Connect-AzAccount
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-xxxxxxxx-xxxx-xxxx-xxxxxxxx Subscription1 yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy AzureCloud
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/connect-azaccount
-
-
-
-
-
- Disable-AzContextAutosave
- Disable
- AzContextAutosave
-
- Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window
-
-
-
- Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window
-
-
-
- Disable-AzContextAutosave
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.ContextAutosaveSettings
-
-
-
-
-
-
-
-
-
-
-
-
-
- ---------- Example 1: Disable autosaving the context ----------
- Disable-AzContextAutosave
-
- Disable autosave for the current user.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Disable-AzContextAutosave -Scope Process
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/disable-azcontextautosave
-
-
-
-
-
- Disable-AzDataCollection
- Disable
- AzDataCollection
-
- Opts out of collecting data to improve the Azure PowerShell cmdlets. Data is collected by default unless you explicitly opt out.
-
-
-
- The `Disable-AzDataCollection` cmdlet is used to opt out of data collection. Azure PowerShell automatically collects telemetry data by default. To disable data collection, you must explicitly opt-out. Microsoft aggregates collected data to identify patterns of usage, to identify common issues, and to improve the experience of Azure PowerShell. Microsoft Azure PowerShell doesn't collect any private or personal data. If you've previously opted out, run the `Enable-AzDataCollection` cmdlet to re-enable data collection for the current user on the current machine.
-
-
-
- Disable-AzDataCollection
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Void
-
-
-
-
-
-
-
-
-
-
-
-
-
- -- Example 1: Disabling data collection for the current user --
- Disable-AzDataCollection
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/disable-azdatacollection
-
-
- Enable-AzDataCollection
-
-
-
-
-
-
- Disable-AzureRmAlias
- Disable
- AzureRmAlias
-
- Disables AzureRm prefix aliases for Az modules.
-
-
-
- Disables AzureRm prefix aliases for Az modules. If -Module is specified, only modules listed will have aliases disabled. Otherwise all AzureRm aliases are disabled.
-
-
-
- Disable-AzureRmAlias
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Module
-
- Indicates which modules to disable aliases for. If none are specified, default is all enabled modules.
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- PassThru
-
- If specified, cmdlet will return all disabled aliases
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Indicates what scope aliases should be disabled for. Default is 'Process'
-
-
- Process
- CurrentUser
- LocalMachine
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Module
-
- Indicates which modules to disable aliases for. If none are specified, default is all enabled modules.
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- PassThru
-
- If specified, cmdlet will return all disabled aliases
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Indicates what scope aliases should be disabled for. Default is 'Process'
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Disable-AzureRmAlias
-
- Disables all AzureRm prefixes for the current PowerShell session.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Disable-AzureRmAlias -Module Az.Accounts -Scope CurrentUser
-
- Disables AzureRm aliases for the Az.Accounts module for both the current process and for the current user.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/disable-azurermalias
-
-
-
-
-
- Disconnect-AzAccount
- Disconnect
- AzAccount
-
- Disconnects a connected Azure account and removes all credentials and contexts associated with that account.
-
-
-
- The Disconnect-AzAccount cmdlet disconnects a connected Azure account and removes all credentials and contexts (subscription and tenant information) associated with that account. After executing this cmdlet, you will need to login again using Connect-AzAccount.
-
-
-
- Disconnect-AzAccount
-
- ApplicationId
-
- ServicePrincipal id (globally unique id)
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- TenantId
-
- Tenant id (globally unique id)
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not executed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Disconnect-AzAccount
-
- AzureContext
-
- Context
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not executed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Disconnect-AzAccount
-
- ContextName
-
- Name of the context to log out of
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not executed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Disconnect-AzAccount
-
- InputObject
-
- The account object to remove
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not executed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Disconnect-AzAccount
-
- Username
-
- User name of the form 'user@contoso.org'
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not executed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- ApplicationId
-
- ServicePrincipal id (globally unique id)
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureContext
-
- Context
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- ContextName
-
- Name of the context to log out of
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- InputObject
-
- The account object to remove
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- TenantId
-
- Tenant id (globally unique id)
-
- System.String
-
- System.String
-
-
- None
-
-
- Username
-
- User name of the form 'user@contoso.org'
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not executed.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureRmAccount
-
-
-
-
-
-
-
-
-
-
-
-
-
- ----------- Example 1: Logout of the current account -----------
- Disconnect-AzAccount
-
- Logs out of the Azure account associated with the current context.
-
-
-
-
-
- Example 2: Logout of the account associated with a particular context
- Get-AzContext "Work" | Disconnect-AzAccount -Scope CurrentUser
-
- Logs out the account associated with the given context (named 'Work'). Because this uses the 'CurrentUser' scope, all credentials and contexts will be permanently deleted.
-
-
-
-
-
- ------------- Example 3: Log out a particular user -------------
- Disconnect-AzAccount -Username 'user1@contoso.org'
-
- Logs out the 'user1@contoso.org' user - all credentials and all contexts associated with this user will be removed.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/disconnect-azaccount
-
-
-
-
-
- Enable-AzContextAutosave
- Enable
- AzContextAutosave
-
- Azure contexts are PowerShell objects representing your active subscription to run commands against, and the authentication information needed to connect to an Azure cloud. With Azure contexts, Azure PowerShell doesn't need to reauthenticate your account each time you switch subscriptions. For more information, see Azure PowerShell context objects (https://learn.microsoft.com/powershell/azure/context-persistence).
- This cmdlet allows the Azure context information to be saved and automatically loaded when you start a PowerShell process. For example, when opening a new window.
-
-
-
- Allows the Azure context information to be saved and automatically loaded when a PowerShell process starts. The context is saved at the end of the execution of any cmdlet that affects the context. For example, any profile cmdlet. If you're using user authentication, then tokens can be updated during the course of running any cmdlet.
-
-
-
- Enable-AzContextAutosave
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with Azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes. For example, whether changes apply only to the current process, or to all sessions started by this user. Changes made with the scope `CurrentUser` will affect all PowerShell sessions started by the user. If a particular session needs to have different settings, use the scope `Process`.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- CurrentUser
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet isn't run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with Azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes. For example, whether changes apply only to the current process, or to all sessions started by this user. Changes made with the scope `CurrentUser` will affect all PowerShell sessions started by the user. If a particular session needs to have different settings, use the scope `Process`.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- CurrentUser
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet isn't run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.ContextAutosaveSettings
-
-
-
-
-
-
-
-
-
-
-
-
-
- Example 1: Enable autosaving credentials for the current user
- Enable-AzContextAutosave
-
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Enable-AzContextAutosave -Scope Process
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/enable-azcontextautosave
-
-
-
-
-
- Enable-AzDataCollection
- Enable
- AzDataCollection
-
- Enables Azure PowerShell to collect data to improve the user experience with the Azure PowerShell cmdlets. Executing this cmdlet opts in to data collection for the current user on the current machine. Data is collected by default unless you explicitly opt out.
-
-
-
- The `Enable-AzDataCollection` cmdlet is used to opt in to data collection. Azure PowerShell automatically collects telemetry data by default. Microsoft aggregates collected data to identify patterns of usage, to identify common issues, and to improve the experience of Azure PowerShell. Microsoft Azure PowerShell doesn't collect any private or personal data. To disable data collection, you must explicitly opt out by executing `Disable-AzDataCollection`.
-
-
-
- Enable-AzDataCollection
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Void
-
-
-
-
-
-
-
-
-
-
-
-
-
- --- Example 1: Enabling data collection for the current user ---
- Enable-AzDataCollection
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/enable-azdatacollection
-
-
- Disable-AzDataCollection
-
-
-
-
-
-
- Enable-AzureRmAlias
- Enable
- AzureRmAlias
-
- Enables AzureRm prefix aliases for Az modules.
-
-
-
- Enables AzureRm prefix aliases for Az modules. If -Module is specified, only modules listed will have aliases enabled. Otherwise all AzureRm aliases are enabled.
-
-
-
- Enable-AzureRmAlias
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Module
-
- Indicates which modules to enable aliases for. If none are specified, default is all modules.
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- PassThru
-
- If specified, cmdlet will return all aliases enabled
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Indicates what scope aliases should be enabled for. Default is 'Local'
-
-
- Local
- Process
- CurrentUser
- LocalMachine
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Module
-
- Indicates which modules to enable aliases for. If none are specified, default is all modules.
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- PassThru
-
- If specified, cmdlet will return all aliases enabled
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Indicates what scope aliases should be enabled for. Default is 'Local'
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Enable-AzureRmAlias
-
- Enables all AzureRm prefixes for the current PowerShell session.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Enable-AzureRmAlias -Module Az.Accounts -Scope CurrentUser
-
- Enables AzureRm aliases for the Az.Accounts module for both the current process and for the current user.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/enable-azurermalias
-
-
-
-
-
- Export-AzConfig
- Export
- AzConfig
-
- Exports all the configs into a file so that it can be imported on another machine.
-
-
-
- The `Export-AzConfig` cmdlet exports all the configs that are set at the "CurrentUser" scope into a file at given path in JSON format. The file can then be imported by `Import-AzConfig` for example on another machine.
-
-
-
- Export-AzConfig
-
- Path
-
- Specifies the path of the file to which to save the configs.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Overwrites the given file if it exists.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Returns a boolean value indicating success or failure.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Overwrites the given file if it exists.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Returns a boolean value indicating success or failure.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Path
-
- Specifies the path of the file to which to save the configs.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Export-AzConfig -Path ./config.json
-
- This example exports the configs to `./config.json` file which can later be imported via `Import-AzConfig`.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/export-azconfig
-
-
- Import-AzConfig
-
-
-
-
-
-
- Get-AzAccessToken
- Get
- AzAccessToken
-
- Get secure raw access token. When using -ResourceUrl, please make sure the value does match current Azure environment. You may refer to the value of `(Get-AzContext).Environment`. > _NOTE:_ The current default output token type is going to be changed from plain text `String` to `SecureString` for security. Please use `-AsSecureString` to migrate to the secure behaviour before the breaking change takes effects.
-
-
-
- Get access token
-
-
-
- Get-AzAccessToken
-
- AsSecureString
-
- Specifiy to convert output token as a secure string. Please always use the parameter for security purpose and to avoid the upcoming breaking chang and refer to Frequently asked questions about Azure PowerShell (https://learn.microsoft.com/en-us/powershell/azure/faq)for how to convert from `SecureString` to plain text.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ResourceTypeName
-
- Optional resource type name, supported values: AadGraph, AnalysisServices, AppConfiguration, Arm, Attestation, Batch, CommunicationEmail, DataLake, KeyVault, MSGraph, OperationalInsights, ResourceManager, Storage, Synapse. Default value is Arm if not specified.
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantId
-
- Optional Tenant Id. Use tenant id of default context if not specified.
-
- System.String
-
- System.String
-
-
- None
-
-
-
- Get-AzAccessToken
-
- AsSecureString
-
- Specifiy to convert output token as a secure string. Please always use the parameter for security purpose and to avoid the upcoming breaking chang and refer to Frequently asked questions about Azure PowerShell (https://learn.microsoft.com/en-us/powershell/azure/faq)for how to convert from `SecureString` to plain text.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ResourceUrl
-
- Resource url for that you're requesting token, e.g. 'https://graph.microsoft.com/'.
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantId
-
- Optional Tenant Id. Use tenant id of default context if not specified.
-
- System.String
-
- System.String
-
-
- None
-
-
-
-
-
- AsSecureString
-
- Specifiy to convert output token as a secure string. Please always use the parameter for security purpose and to avoid the upcoming breaking chang and refer to Frequently asked questions about Azure PowerShell (https://learn.microsoft.com/en-us/powershell/azure/faq)for how to convert from `SecureString` to plain text.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ResourceTypeName
-
- Optional resource type name, supported values: AadGraph, AnalysisServices, AppConfiguration, Arm, Attestation, Batch, CommunicationEmail, DataLake, KeyVault, MSGraph, OperationalInsights, ResourceManager, Storage, Synapse. Default value is Arm if not specified.
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceUrl
-
- Resource url for that you're requesting token, e.g. 'https://graph.microsoft.com/'.
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantId
-
- Optional Tenant Id. Use tenant id of default context if not specified.
-
- System.String
-
- System.String
-
-
- None
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAccessToken
-
-
- The output type is going to be deprecate.
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSSecureAccessToken
-
-
- Use `-AsSecureString` to get the token as `SecureString`.
-
-
-
-
-
-
-
-
-
-
- ------- Example 1 Get the access token for ARM endpoint -------
- Get-AzAccessToken -AsSecureString
-
- Get access token of current account for ResourceManager endpoint
-
-
-
-
-
- - Example 2 Get the access token for Microsoft Graph endpoint -
- Get-AzAccessToken -AsSecureString -ResourceTypeName MSGraph
-
- Get access token of Microsoft Graph endpoint for current account
-
-
-
-
-
- - Example 3 Get the access token for Microsoft Graph endpoint -
- Get-AzAccessToken -AsSecureString -ResourceUrl "https://graph.microsoft.com/"
-
- Get access token of Microsoft Graph endpoint for current account
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azaccesstoken
-
-
-
-
-
- Get-AzConfig
- Get
- AzConfig
-
- Gets the configs of Azure PowerShell.
-
-
-
- Gets the configs of Azure PowerShell. By default it lists all the configs. You can filter the result using various parameters.
- > [!NOTE] > Configs have priorities. Generally speaking, Process scope has higher priority than CurrentUser scope; a config that applies to a certain cmdlet has higher priority than that applies to a module, again higher than Az. > To reduce confusion, the result of `Get-AzConfig` shows those configs that are taking effect. It is a combination of all the configs, but not literally all the configs. However, you could always view them by applying different filter parameters, such as `-Scope`.
-
-
-
- Get-AzConfig
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- CheckForUpgrade
-
- When enabled, Azure PowerShell will check for updates automatically and display a hint message when an update is available. The default value is true.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- DefaultSubscriptionForLogin
-
- Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisableInstanceDiscovery
-
- Set it to true to disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack. The process of instance discovery entails retrieving authority metadata from https://login.microsoft.com/ to validate the authority. By setting this to true, the validation of the authority is disabled. As a result, it is crucial to ensure that the configured authority host is valid and trustworthy.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayBreakingChangeWarning
-
- Controls if warning messages for breaking changes are displayed or suppressed. When enabled, a breaking change warning is displayed when executing cmdlets with breaking changes in a future release.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayRegionIdentified
-
- When enabled, Azure PowerShell displays recommendations on regions which may reduce your costs.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySecretsWarning
-
- When enabled, a warning message will be displayed when the cmdlet output contains secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySurveyMessage
-
- When enabled, you are prompted infrequently to participate in user experience surveys for Azure PowerShell.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableDataCollection
-
- When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience. For more information, see our privacy statement: https://aka.ms/privacy
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableErrorRecordsPersistence
-
- When enabled, error records will be written to ~/.Azure/ErrorRecords.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableLoginByWam
-
- [Preview] When enabled, Web Account Manager (WAM) will be the default interactive login experience. It will fall back to using the browser if the platform does not support WAM. Note that this feature is under preview. Microsoft Account (MSA) is currently not supported. Feel free to reach out to Azure PowerShell team if you have any feedbacks: https://aka.ms/azpsissue
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- LoginExperienceV2
-
- Only active when authenticating interactively, allows the user to choose the subscription and tenant used in subsequent commands. Possible values ad 'On' (Default) and 'Off'. 'On' requires user's input. 'Off' will use the first tenant and subscription returned by Azure, can change without notice and lead to command execution in an unwanted context (not recommended).
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
-
- CurrentUser
- Process
- Default
- Environment
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
-
-
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- CheckForUpgrade
-
- When enabled, Azure PowerShell will check for updates automatically and display a hint message when an update is available. The default value is true.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- DefaultSubscriptionForLogin
-
- Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisableInstanceDiscovery
-
- Set it to true to disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack. The process of instance discovery entails retrieving authority metadata from https://login.microsoft.com/ to validate the authority. By setting this to true, the validation of the authority is disabled. As a result, it is crucial to ensure that the configured authority host is valid and trustworthy.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayBreakingChangeWarning
-
- Controls if warning messages for breaking changes are displayed or suppressed. When enabled, a breaking change warning is displayed when executing cmdlets with breaking changes in a future release.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplayRegionIdentified
-
- When enabled, Azure PowerShell displays recommendations on regions which may reduce your costs.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySecretsWarning
-
- When enabled, a warning message will be displayed when the cmdlet output contains secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DisplaySurveyMessage
-
- When enabled, you are prompted infrequently to participate in user experience surveys for Azure PowerShell.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableDataCollection
-
- When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience. For more information, see our privacy statement: https://aka.ms/privacy
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableErrorRecordsPersistence
-
- When enabled, error records will be written to ~/.Azure/ErrorRecords.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- EnableLoginByWam
-
- [Preview] When enabled, Web Account Manager (WAM) will be the default interactive login experience. It will fall back to using the browser if the platform does not support WAM. Note that this feature is under preview. Microsoft Account (MSA) is currently not supported. Feel free to reach out to Azure PowerShell team if you have any feedbacks: https://aka.ms/azpsissue
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- LoginExperienceV2
-
- Only active when authenticating interactively, allows the user to choose the subscription and tenant used in subsequent commands. Possible values ad 'On' (Default) and 'Off'. 'On' requires user's input. 'Off' will use the first tenant and subscription returned by Azure, can change without notice and lead to command execution in an unwanted context (not recommended).
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSConfig
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Get-AzConfig
-
-Key Value Applies To Scope Help Message
---- ----- ---------- ----- ------------
-EnableDataCollection False Az CurrentUser When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the custom…
-DefaultSubscriptionForLogin Az Default Subscription name or GUID. Sets the default context for Azure PowerShell when logging in with…
-DisplayBreakingChangeWarning True Az Default Controls if warning messages for breaking changes are displayed or suppressed. When enabled, …
-
- Gets all the configs.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Get-AzConfig -EnableDataCollection
-
-Key Value Applies To Scope Help Message
---- ----- ---------- ----- ------------
-EnableDataCollection False Az CurrentUser When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the custom…
-
- Gets the "EnableDataCollection" config.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azconfig
-
-
-
-
-
- Get-AzContext
- Get
- AzContext
-
- Gets the metadata used to authenticate Azure Resource Manager requests.
-
-
-
- The Get-AzContext cmdlet gets the current metadata used to authenticate Azure Resource Manager requests. This cmdlet gets the Active Directory account, Active Directory tenant, Azure subscription, and the targeted Azure environment. Azure Resource Manager cmdlets use these settings by default when making Azure Resource Manager requests. When the available amount of subscription exceeds the default limit of 25, some subscriptions may not show up in the results of `Get-AzContext -ListAvailable`. Please run `Connect-AzAccount -MaxContextPopulation <int>` to get more contexts.
-
-
-
- Get-AzContext
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ListAvailable
-
- List all available contexts in the current session.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- RefreshContextFromTokenCache
-
- Refresh contexts from token cache
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Get-AzContext
-
- Name
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ListAvailable
-
- List all available contexts in the current session.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- RefreshContextFromTokenCache
-
- Refresh contexts from token cache
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
-
-
-
-
- ------------ Example 1: Getting the current context ------------
- Connect-AzAccount
-Get-AzContext
-
-Name Account SubscriptionName Environment TenantId
----- ------- ---------------- ----------- --------
-Subscription1 (xxxxxxxx-xxxx-xxxx-xxx... test@outlook.com Subscription1 AzureCloud xxxxxxxx-x...
-
- In this example we are logging into our account with an Azure subscription using Connect-AzAccount, and then we are getting the context of the current session by calling Get-AzContext.
-
-
-
-
-
- ---------- Example 2: Listing all available contexts ----------
- Get-AzContext -ListAvailable
-
-Name Account SubscriptionName Environment TenantId
----- ------- ---------------- ----------- --------
-Subscription1 (xxxxxxxx-xxxx-xxxx-xxx... test@outlook.com Subscription1 AzureCloud xxxxxxxx-x...
-Subscription2 (xxxxxxxx-xxxx-xxxx-xxx... test@outlook.com Subscription2 AzureCloud xxxxxxxx-x...
-Subscription3 (xxxxxxxx-xxxx-xxxx-xxx... test@outlook.com Subscription3 AzureCloud xxxxxxxx-x...
-
- In this example, all currently available contexts are displayed. The user may select one of these contexts using Select-AzContext.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azcontext
-
-
- Set-AzContext
-
-
-
- Connect-AzAccount
-
-
-
-
-
-
- Get-AzContextAutosaveSetting
- Get
- AzContextAutosaveSetting
-
- Display metadata about the context autosave feature, including whether the context is automatically saved, and where saved context and credential information can be found.
-
-
-
- Display metadata about the context autosave feature, including whether the context is automatically saved, and where saved context and credential information can be found.
-
-
-
- Get-AzContextAutosaveSetting
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.ContextAutosaveSettings
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Example 1: Get context save metadata for the current session -
- Get-AzContextAutosaveSetting
-
-Mode : Process
-ContextDirectory : None
-ContextFile : None
-CacheDirectory : None
-CacheFile : None
-Settings : {}
-
- Get details about whether and where the context is saved. In the above example, the autosave feature has been disabled.
-
-
-
-
-
- -- Example 2: Get context save metadata for the current user --
- Get-AzContextAutosaveSetting -Scope CurrentUser
-
-Mode : CurrentUser
-ContextDirectory : C:\Users\contoso\AppData\Roaming\Windows Azure Powershell
-ContextFile : AzureRmContext.json
-CacheDirectory : C:\Users\contoso\AppData\Roaming\Windows Azure Powershell
-CacheFile : TokenCache.dat
-Settings : {}
-
- Get details about whether and where the context is saved by default for the current user. Note that this may be different than the settings that are active in the current session. In the above example, the autosave feature has been enabled, and data is saved to the default location.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azcontextautosavesetting
-
-
-
-
-
- Get-AzDefault
- Get
- AzDefault
-
- Get the defaults set by the user in the current context.
-
-
-
- The Get-AzDefault cmdlet gets the Resource Group that the user has set as default in the current context.
-
-
-
- Get-AzDefault
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ResourceGroup
-
- Display Default Resource Group
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ResourceGroup
-
- Display Default Resource Group
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.Management.Automation.SwitchParameter
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSResourceGroup
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Get-AzDefault
-
-Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup
-Name : myResourceGroup
-Properties : Microsoft.Azure.Management.Internal.Resources.Models.ResourceGroupProperties
-Location : eastus
-ManagedBy :
-Tags :
-
- This command returns the current defaults if there are defaults set, or returns nothing if no default is set.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Get-AzDefault -ResourceGroup
-
-Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup
-Name : myResourceGroup
-Properties : Microsoft.Azure.Management.Internal.Resources.Models.ResourceGroupProperties
-Location : eastus
-ManagedBy :
-Tags :
-
- This command returns the current default Resource Group if there is a default set, or returns nothing if no default is set.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azdefault
-
-
-
-
-
- Get-AzEnvironment
- Get
- AzEnvironment
-
- Get endpoints and metadata for an instance of Azure services. `GalleryUrl` will be removed from ArmMetadata and so Azure PowerShell will no longer provide for its value in `PSAzureEnvironment`. Currently `GalleryUrl` is not used in Azure PowerShell products. Please do not reply on `GalleryUrl` anymore.
-
-
-
- The Get-AzEnvironment cmdlet gets endpoints and metadata for an instance of Azure services.
-
-
-
- Get-AzEnvironment
-
- Name
-
- Specifies the name of the Azure instance to get.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Name
-
- Specifies the name of the Azure instance to get.
-
- System.String
-
- System.String
-
-
- None
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
- ---------- Example 1: Getting all Azure environments ----------
- Get-AzEnvironment
-
-Name Resource Manager Url ActiveDirectory Authority Type
----- -------------------- ------------------------- ----
-AzureUSGovernment https://management.usgovcloudapi.net/ https://login.microsoftonline.us/ Built-in
-AzureCloud https://management.azure.com/ https://login.microsoftonline.com/ Built-in
-AzureChinaCloud https://management.chinacloudapi.cn/ https://login.chinacloudapi.cn/ Built-in
-
- This example shows how to get the endpoints and metadata for the AzureCloud (default) environment.
-
-
-
-
-
- -------- Example 2: Getting the AzureCloud environment --------
- Get-AzEnvironment -Name AzureCloud
-
-Name Resource Manager Url ActiveDirectory Authority Type
----- -------------------- ------------------------- ----
-AzureCloud https://management.azure.com/ https://login.microsoftonline.com/ Built-in
-
- This example shows how to get the endpoints and metadata for the AzureCloud (default) environment.
-
-
-
-
-
- ------ Example 3: Getting the AzureChinaCloud environment ------
- Get-AzEnvironment -Name AzureChinaCloud | Format-List
-
-Name : AzureChinaCloud
-Type : Built-in
-EnableAdfsAuthentication : False
-OnPremise : False
-ActiveDirectoryServiceEndpointResourceId : https://management.core.chinacloudapi.cn/
-AdTenant : Common
-GalleryUrl : https://gallery.azure.com/
-ManagementPortalUrl : https://go.microsoft.com/fwlink/?LinkId=301902
-ServiceManagementUrl : https://management.core.chinacloudapi.cn/
-PublishSettingsFileUrl : https://go.microsoft.com/fwlink/?LinkID=301776
-ResourceManagerUrl : https://management.chinacloudapi.cn/
-SqlDatabaseDnsSuffix : .database.chinacloudapi.cn
-StorageEndpointSuffix : core.chinacloudapi.cn
-ActiveDirectoryAuthority : https://login.chinacloudapi.cn/
-GraphUrl : https://graph.chinacloudapi.cn/
-GraphEndpointResourceId : https://graph.chinacloudapi.cn/
-TrafficManagerDnsSuffix : trafficmanager.cn
-AzureKeyVaultDnsSuffix : vault.azure.cn
-DataLakeEndpointResourceId :
-AzureDataLakeStoreFileSystemEndpointSuffix :
-AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
-AzureKeyVaultServiceEndpointResourceId : https://vault.azure.cn
-ContainerRegistryEndpointSuffix : azurecr.cn
-AzureOperationalInsightsEndpointResourceId :
-AzureOperationalInsightsEndpoint :
-AzureAnalysisServicesEndpointSuffix : asazure.chinacloudapi.cn
-AnalysisServicesEndpointResourceId : https://region.asazure.chinacloudapi.cn
-AzureAttestationServiceEndpointSuffix :
-AzureAttestationServiceEndpointResourceId :
-AzureSynapseAnalyticsEndpointSuffix : dev.azuresynapse.azure.cn
-AzureSynapseAnalyticsEndpointResourceId : https://dev.azuresynapse.azure.cn
-
- This example shows how to get the endpoints and metadata for the AzureChinaCloud environment.
-
-
-
-
-
- ----- Example 4: Getting the AzureUSGovernment environment -----
- Get-AzEnvironment -Name AzureUSGovernment
-
-Name Resource Manager Url ActiveDirectory Authority Type
----- -------------------- ------------------------- ----
-AzureUSGovernment https://management.usgovcloudapi.net/ https://login.microsoftonline.us/ Built-in
-
- This example shows how to get the endpoints and metadata for the AzureUSGovernment environment.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azenvironment
-
-
- Add-AzEnvironment
-
-
-
- Remove-AzEnvironment
-
-
-
- Set-AzEnvironment
-
-
-
-
-
-
- Get-AzSubscription
- Get
- AzSubscription
-
- Get subscriptions that the current account can access.
-
-
-
- The Get-AzSubscription cmdlet gets the subscription ID, subscription name, and home tenant for subscriptions that the current account can access.
-
-
-
- Get-AzSubscription
-
- AsJob
-
- Run cmdlet in the background and return a Job to track progress.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- SubscriptionId
-
- Specifies the ID of the subscription to get.
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantId
-
- Specifies the ID of the tenant that contains subscriptions to get.
-
- System.String
-
- System.String
-
-
- None
-
-
-
- Get-AzSubscription
-
- AsJob
-
- Run cmdlet in the background and return a Job to track progress.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- SubscriptionName
-
- Specifies the name of the subscription to get.
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantId
-
- Specifies the ID of the tenant that contains subscriptions to get.
-
- System.String
-
- System.String
-
-
- None
-
-
-
-
-
- AsJob
-
- Run cmdlet in the background and return a Job to track progress.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- SubscriptionId
-
- Specifies the ID of the subscription to get.
-
- System.String
-
- System.String
-
-
- None
-
-
- SubscriptionName
-
- Specifies the name of the subscription to get.
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantId
-
- Specifies the ID of the tenant that contains subscriptions to get.
-
- System.String
-
- System.String
-
-
- None
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
-
-
-
-
-
-
-
-
-
-
-
-
- ------- Example 1: Get all subscriptions in all tenants -------
- Get-AzSubscription
-
-Name Id TenantId State
----- -- -------- -----
-Subscription1 yyyy-yyyy-yyyy-yyyy aaaa-aaaa-aaaa-aaaa Enabled
-Subscription2 xxxx-xxxx-xxxx-xxxx aaaa-aaaa-aaaa-aaaa Enabled
-Subscription3 zzzz-zzzz-zzzz-zzzz bbbb-bbbb-bbbb-bbbb Enabled
-
- This command gets all subscriptions in all tenants that are authorized for the current account.
-
-
-
-
-
- ---- Example 2: Get all subscriptions for a specific tenant ----
- Get-AzSubscription -TenantId "aaaa-aaaa-aaaa-aaaa"
-
-Name Id TenantId State
----- -- -------- -----
-Subscription1 yyyy-yyyy-yyyy-yyyy aaaa-aaaa-aaaa-aaaa Enabled
-Subscription2 xxxx-xxxx-xxxx-xxxx aaaa-aaaa-aaaa-aaaa Enabled
-
- List all subscriptions in the given tenant that are authorized for the current account.
-
-
-
-
-
- ---- Example 3: Get all subscriptions in the current tenant ----
- Get-AzSubscription -TenantId (Get-AzContext).Tenant
-
-Name Id TenantId State
----- -- -------- -----
-Subscription1 yyyy-yyyy-yyyy-yyyy aaaa-aaaa-aaaa-aaaa Enabled
-Subscription2 xxxx-xxxx-xxxx-xxxx aaaa-aaaa-aaaa-aaaa Enabled
-
- This command gets all subscriptions in the current tenant that are authorized for the current user.
-
-
-
-
-
- Example 4: Change the current context to use a specific subscription
- Get-AzSubscription -SubscriptionId "xxxx-xxxx-xxxx-xxxx" -TenantId "yyyy-yyyy-yyyy-yyyy" | Set-AzContext
-
-Name Account SubscriptionName Environment TenantId
----- ------- ---------------- ----------- --------
-Subscription1 (xxxx-xxxx-xxxx-xxxx) azureuser@micros... Subscription1 AzureCloud yyyy-yyyy-yyyy-yyyy
-
- This command gets the specified subscription, and then sets the current context to use it. All subsequent cmdlets in this session use the new subscription (Contoso Subscription 1) by default.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-azsubscription
-
-
-
-
-
- Get-AzTenant
- Get
- AzTenant
-
- Gets tenants that are authorized for the current user.
-
-
-
- The Get-AzTenant cmdlet gets tenants authorized for the current user.
-
-
-
- Get-AzTenant
-
- TenantId
-
- Specifies the ID of the tenant that this cmdlet gets.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- TenantId
-
- Specifies the ID of the tenant that this cmdlet gets.
-
- System.String
-
- System.String
-
-
- None
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
-
-
-
-
-
-
-
-
-
-
-
-
- ---------------- Example 1: Getting all tenants ----------------
- Connect-AzAccount
-Get-AzTenant
-
-Id Name Category Domains
--- ----------- -------- -------
-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft Home {test0.com, test1.com, test2.microsoft.com, test3.microsoft.com...}
-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy Testhost Home testhost.onmicrosoft.com
-
- This example shows how to get all of the authorized tenants of an Azure account.
-
-
-
-
-
- ------------- Example 2: Getting a specific tenant -------------
- Connect-AzAccount
-Get-AzTenant -TenantId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
-
-Id Name Category Domains
--- ----------- -------- -------
-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft Home {test0.com, test1.com, test2.microsoft.com, test3.microsoft.com...}
-
- This example shows how to get a specific authorized tenant of an Azure account.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/get-aztenant
-
-
-
-
-
- Import-AzConfig
- Import
- AzConfig
-
- Imports configs from a file that was previously exported by `Export-AzConfig`.
-
-
-
- The `Import-AzConfig` cmdlet imports all the configs from a file that was previously exported by `Export-AzConfig`. The imported configs will be set at the "CurrentUser" scope, so they are consistent across PowerShell sessions.
- During importing, if a config that is to be imported has already been set, its value will be overwritten.
-
-
-
- Import-AzConfig
-
- Path
-
- Specifies the path to configuration saved by using Export-AzConfig.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- PassThru
-
- Returns a boolean value indicating success or failure.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- PassThru
-
- Returns a boolean value indicating success or failure.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Path
-
- Specifies the path to configuration saved by using Export-AzConfig.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Import-AzConfig -Path ./config.json
-
- This example imports configs from file `./config.json`.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/import-azconfig
-
-
- Export-AzConfig
-
-
-
-
-
-
- Import-AzContext
- Import
- AzContext
-
- Loads Azure authentication information from a file.
-
-
-
- The Import-AzContext cmdlet loads authentication information from a file to set the Azure environment and context. Cmdlets that you run in the current session use this information to authenticate requests to Azure Resource Manager.
-
-
-
- Import-AzContext
-
- AzureContext
-
- {{Fill AzureContext Description}}
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Import-AzContext
-
- Path
-
- Specifies the path to context information saved by using Save-AzContext.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- AzureContext
-
- {{Fill AzureContext Description}}
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Path
-
- Specifies the path to context information saved by using Save-AzContext.
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
-
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
- ----- Example 1: Importing a context from a AzureRmProfile -----
- Import-AzContext -AzContext (Connect-AzAccount)
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
- This example imports a context from a PSAzureProfile that is passed through to the cmdlet.
-
-
-
-
-
- ------- Example 2: Importing a context from a JSON file -------
- Import-AzContext -Path C:\test.json
-
-Account SubscriptionName TenantId Environment
-------- ---------------- -------- -----------
-azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud
-
- This example selects a context from a JSON file that is passed through to the cmdlet. This JSON file can be created from Save-AzContext.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/import-azcontext
-
-
-
-
-
- Invoke-AzRestMethod
- Invoke
- AzRestMethod
-
- Construct and perform HTTP request to Azure resource management endpoint only
-
-
-
- Construct and perform HTTP request to Azure resource management endpoint only
-
-
-
- Invoke-AzRestMethod
-
- ApiVersion
-
- Api Version
-
- System.String
-
- System.String
-
-
- None
-
-
- AsJob
-
- Run cmdlet in the background
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- FinalResultFrom
-
- Specifies the header for final GET result after the long-running operation completes.
-
-
- FinalStateVia
- Location
- OriginalUri
- Operation-Location
-
- System.String
-
- System.String
-
-
- None
-
-
- Method
-
- Http Method
-
-
- GET
- POST
- PUT
- PATCH
- DELETE
-
- System.String
-
- System.String
-
-
- None
-
-
- Name
-
- list of Target Resource Name
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- Payload
-
- JSON format payload
-
- System.String
-
- System.String
-
-
- None
-
-
- PollFrom
-
- Specifies the polling header (to fetch from) for long-running operation status.
-
-
- AzureAsyncLocation
- Location
- OriginalUri
- Operation-Location
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceGroupName
-
- Target Resource Group Name
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceProviderName
-
- Target Resource Provider Name
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceType
-
- List of Target Resource Type
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- SubscriptionId
-
- Target Subscription Id
-
- System.String
-
- System.String
-
-
- None
-
-
- WaitForCompletion
-
- Waits for the long-running operation to complete before returning the result.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Invoke-AzRestMethod
-
- AsJob
-
- Run cmdlet in the background
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- FinalResultFrom
-
- Specifies the header for final GET result after the long-running operation completes.
-
-
- FinalStateVia
- Location
- OriginalUri
- Operation-Location
-
- System.String
-
- System.String
-
-
- None
-
-
- Method
-
- Http Method
-
-
- GET
- POST
- PUT
- PATCH
- DELETE
-
- System.String
-
- System.String
-
-
- None
-
-
- Path
-
- Path of target resource URL. Hostname of Resource Manager should not be added.
-
- System.String
-
- System.String
-
-
- None
-
-
- Payload
-
- JSON format payload
-
- System.String
-
- System.String
-
-
- None
-
-
- PollFrom
-
- Specifies the polling header (to fetch from) for long-running operation status.
-
-
- AzureAsyncLocation
- Location
- OriginalUri
- Operation-Location
-
- System.String
-
- System.String
-
-
- None
-
-
- WaitForCompletion
-
- Waits for the long-running operation to complete before returning the result.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Invoke-AzRestMethod
-
- Uri
-
- Uniform Resource Identifier of the Azure resources. The target resource needs to support Azure AD authentication and the access token is derived according to resource id. If resource id is not set, its value is derived according to built-in service suffixes in current Azure Environment.
-
- System.Uri
-
- System.Uri
-
-
- None
-
-
- AsJob
-
- Run cmdlet in the background
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- FinalResultFrom
-
- Specifies the header for final GET result after the long-running operation completes.
-
-
- FinalStateVia
- Location
- OriginalUri
- Operation-Location
-
- System.String
-
- System.String
-
-
- None
-
-
- Method
-
- Http Method
-
-
- GET
- POST
- PUT
- PATCH
- DELETE
-
- System.String
-
- System.String
-
-
- None
-
-
- Payload
-
- JSON format payload
-
- System.String
-
- System.String
-
-
- None
-
-
- PollFrom
-
- Specifies the polling header (to fetch from) for long-running operation status.
-
-
- AzureAsyncLocation
- Location
- OriginalUri
- Operation-Location
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceId
-
- Identifier URI specified by the REST API you are calling. It shouldn't be the resource id of Azure Resource Manager.
-
- System.Uri
-
- System.Uri
-
-
- None
-
-
- WaitForCompletion
-
- Waits for the long-running operation to complete before returning the result.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- ApiVersion
-
- Api Version
-
- System.String
-
- System.String
-
-
- None
-
-
- AsJob
-
- Run cmdlet in the background
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- FinalResultFrom
-
- Specifies the header for final GET result after the long-running operation completes.
-
- System.String
-
- System.String
-
-
- None
-
-
- Method
-
- Http Method
-
- System.String
-
- System.String
-
-
- None
-
-
- Name
-
- list of Target Resource Name
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- Path
-
- Path of target resource URL. Hostname of Resource Manager should not be added.
-
- System.String
-
- System.String
-
-
- None
-
-
- Payload
-
- JSON format payload
-
- System.String
-
- System.String
-
-
- None
-
-
- PollFrom
-
- Specifies the polling header (to fetch from) for long-running operation status.
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceGroupName
-
- Target Resource Group Name
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceId
-
- Identifier URI specified by the REST API you are calling. It shouldn't be the resource id of Azure Resource Manager.
-
- System.Uri
-
- System.Uri
-
-
- None
-
-
- ResourceProviderName
-
- Target Resource Provider Name
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceType
-
- List of Target Resource Type
-
- System.String[]
-
- System.String[]
-
-
- None
-
-
- SubscriptionId
-
- Target Subscription Id
-
- System.String
-
- System.String
-
-
- None
-
-
- Uri
-
- Uniform Resource Identifier of the Azure resources. The target resource needs to support Azure AD authentication and the access token is derived according to resource id. If resource id is not set, its value is derived according to built-in service suffixes in current Azure Environment.
-
- System.Uri
-
- System.Uri
-
-
- None
-
-
- WaitForCompletion
-
- Waits for the long-running operation to complete before returning the result.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.string
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSHttpResponse
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Invoke-AzRestMethod -Path "/subscriptions/{subscription}/resourcegroups/{resourcegroup}/providers/microsoft.operationalinsights/workspaces/{workspace}?api-version={API}" -Method GET
-
-Headers : {[Cache-Control, System.String[]], [Pragma, System.String[]], [x-ms-request-id, System.String[]], [Strict-Transport-Security, System.String[]]…}
-Version : 1.1
-StatusCode : 200
-Method : GET
-Content : {
- "properties": {
- "source": "Azure",
- "customerId": "{customerId}",
- "provisioningState": "Succeeded",
- "sku": {
- "name": "pergb2018",
- "maxCapacityReservationLevel": 3000,
- "lastSkuUpdate": "Mon, 25 May 2020 11:10:01 GMT"
- },
- "retentionInDays": 30,
- "features": {
- "legacy": 0,
- "searchVersion": 1,
- "enableLogAccessUsingOnlyResourcePermissions": true
- },
- "workspaceCapping": {
- "dailyQuotaGb": -1.0,
- "quotaNextResetTime": "Thu, 18 Jun 2020 05:00:00 GMT",
- "dataIngestionStatus": "RespectQuota"
- },
- "enableFailover": false,
- "publicNetworkAccessForIngestion": "Enabled",
- "publicNetworkAccessForQuery": "Enabled",
- "createdDate": "Mon, 25 May 2020 11:10:01 GMT",
- "modifiedDate": "Mon, 25 May 2020 11:10:02 GMT"
- },
- "id": "/subscriptions/{subscription}/resourcegroups/{resourcegroup}/providers/microsoft.operationalinsights/workspaces/{workspace}",
- "name": "{workspace}",
- "type": "Microsoft.OperationalInsights/workspaces",
- "location": "eastasia",
- "tags": {}
- }
-
- Get log analytics workspace by path. It only supports management plane API and Hostname of Azure Resource Manager is added according to Azure environment setting.
-
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Invoke-AzRestMethod https://graph.microsoft.com/v1.0/me
-
-Headers : {[Date, System.String[]], [Cache-Control, System.String[]], [Transfer-Encoding, System.String[]], [Strict-Transport-Security, System.String[]]…}
-Version : 1.1
-StatusCode : 200
-Method : GET
-Content : {"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users/$entity","businessPhones":["......}
-
- Get current signed in user via MicrosoftGraph API. This example is equivalent to `Get-AzADUser -SignedIn`.
-
-
-
-
-
- -------------------------- Example 3 --------------------------
- $subscriptionId = (Get-AzContext).Subscription.ID
-Invoke-AzRestMethod -SubscriptionId $subscriptionId -ResourceGroupName "test-group" -ResourceProviderName Microsoft.AppPlatform -ResourceType Spring,apps -Name "test-spring-service" -ApiVersion 2020-07-01 -Method GET
-
-Headers : {[Cache-Control, System.String[]], [Pragma, System.String[]], [Vary, System.String[]], [x-ms-request-id,
- System.String[]]…}
-Version : 1.1
-StatusCode : 200
-Method : GET
-Content : {"value":[{"properties":{"public":true,"url":"https://test-spring-service-demo.azuremicroservices.io","provisioni
- ngState":"Succeeded","activeDeploymentName":"default","fqdn":"test-spring-service.azuremicroservices.io","httpsOn
- ly":false,"createdTime":"2022-06-22T02:57:13.272Z","temporaryDisk":{"sizeInGB":5,"mountPath":"/tmp"},"pers
- istentDisk":{"sizeInGB":0,"mountPath":"/persistent"}},"type":"Microsoft.AppPlatform/Spring/apps","identity
- ":null,"location":"eastus","id":"/subscriptions/$subscriptionId/resourceGroups/test-group/providers/Microsoft.AppPlatform/Spring/test-spring-service/apps/demo","name":"demo"},{"properties":{"publ
- ic":false,"provisioningState":"Succeeded","activeDeploymentName":"deploy01","fqdn":"test-spring-service.azuremicr
- oservices.io","httpsOnly":false,"createdTime":"2022-06-22T07:46:54.9Z","temporaryDisk":{"sizeInGB":5,"moun
- tPath":"/tmp"},"persistentDisk":{"sizeInGB":0,"mountPath":"/persistent"}},"type":"Microsoft.AppPlatform/Sp
- ring/apps","identity":null,"location":"eastus","id":"/subscriptions/$subscriptionId/r
- esourceGroups/test-group/providers/Microsoft.AppPlatform/Spring/test-spring-service/apps/pwsh01","name":"pwsh0
- 1"}]}
-
- List apps under spring service "test-spring-service"
-
-
-
-
-
- -------------------------- Example 4 --------------------------
- $subscriptionId = (Get-AzContext).Subscription.ID
-Invoke-AzRestMethod -SubscriptionId $subscriptionId -ResourceGroupName "test-group" -ResourceProviderName Microsoft.AppPlatform -ResourceType Spring -Name "test-spring-service","demo" -ApiVersion 2020-07-01 -Method GET
-
-Headers : {[Cache-Control, System.String[]], [Pragma, System.String[]], [Vary, System.String[]], [x-ms-request-id,
- System.String[]]…}
-Version : 1.1
-StatusCode : 200
-Method : GET
-Content : {"properties":{"public":true,"url":"https://test-spring-service-demo.azuremicroservices.io","provisioningState":"
- Succeeded","activeDeploymentName":"default","fqdn":"test-spring-service.azuremicroservices.io","httpsOnly":false,
- "createdTime":"2022-06-22T02:57:13.272Z","temporaryDisk":{"sizeInGB":5,"mountPath":"/tmp"},"persistentDisk
- ":{"sizeInGB":0,"mountPath":"/persistent"}},"type":"Microsoft.AppPlatform/Spring/apps","identity":null,"lo
- cation":"eastus","id":"/subscriptions/$subscriptionId/resourceGroups/test-group/pr
- oviders/Microsoft.AppPlatform/Spring/test-spring-service/apps/demo","name":"demo"}
-
- Get app "demo" under Spring cloud service "test-spring-service"
-
-
-
-
-
- -------------------------- Example 5 --------------------------
- # Replace *** with real values
-$payload = @{principalId="***"; resourceId="***"; appRoleId="***"} | ConvertTo-Json -Depth 3
-Invoke-AzRestMethod -Method POST -Uri https://graph.microsoft.com/v1.0/servicePrincipals/***/appRoleAssignedTo -Payload $payload
-
- Call Microsoft Graph API to assign App Role by constructing a hashtable, converting to a JSON string, and passing the payload to `Invoke-AzRestMethod`.
-
-
-
-
-
- -------------------------- Example 5 --------------------------
- # This example demonstrates creating or updating a resource with a long-running PUT request.
-Invoke-AzRestMethod -Method PUT -Uri "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.KeyVault/managedHSMs/{hsm-name}?api-version=2023-07-01" `
- -Payload (@{
- location = "eastus";
- properties = @{
- softDeleteRetentionDays = 7;
- tenantId = "{tenant-id}";
- initialAdminObjectIds = @("{admin-object-id}")
- };
- sku = @{
- name = "Standard_B1";
- family = "B"
- }
- } | ConvertTo-Json -Depth 10) `
- -WaitForCompletion
-
-StatusCode : 200
-Content : {
- "sku": {
- "family": "B",
- "name": "Standard_B1"
- },
- "id": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.KeyVault/managedHSMs/{hsm-name}",
- "name": "{hsm-name}",
- "type": "Microsoft.KeyVault/managedHSMs",
- "location": "{region}",
- "tags": {},
- "systemData": {
- "createdBy": "{user-email}",
- "createdByType": "User",
- "createdAt": "2024-10-29T05:05:49.229Z",
- "lastModifiedBy": "{user-email}",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2024-10-29T05:05:49.229Z"
- },
- "properties": {
- "tenantId": "{tenant-id}",
- "hsmUri": "https://{hsm-name}.managedhsm.azure.net/",
- "initialAdminObjectIds": [
- "{admin-object-id}"
- ],
- "enableSoftDelete": true,
- "softDeleteRetentionInDays": 90,
- "enablePurgeProtection": false,
- "provisioningState": "Succeeded",
- "statusMessage": "The Managed HSM is provisioned and ready to use.",
- "networkAcls": {
- "bypass": "AzureServices",
- "defaultAction": "Allow",
- "ipRules": [],
- "virtualNetworkRules": []
- },
- "publicNetworkAccess": "Enabled",
- "regions": [],
- "securityDomainProperties": {
- "activationStatus": "NotActivated",
- "activationStatusMessage": "Your HSM has been provisioned, but cannot be used for cryptographic operations until it is activated. To activate the HSM, download the security domain."
- }
- }
- }
-Headers : {
- "Cache-Control": "no-cache",
- "Pragma": "no-cache",
- "x-ms-client-request-id": "{client-request-id}",
- "x-ms-keyvault-service-version": "1.5.1361.0",
- "x-ms-request-id": "{request-id}",
- "x-ms-ratelimit-remaining-subscription-reads": "249",
- "x-ms-ratelimit-remaining-subscription-global-reads": "3749",
- "x-ms-correlation-request-id": "{correlation-request-id}",
- "x-ms-routing-request-id": "{routing-request-id}",
- "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
- "Date": "Tue, 29 Oct 2024 05:18:44 GMT"
- }
-Method : GET
-RequestUri : https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.KeyVault/managedHSMs/{hsm-name}?api-version=2023-07-01
-Version : 1.1
-
- Sends a long-running PUT request to create or update a Managed HSM resource in Azure, polling until completion if the operation requires it. This example uses placeholders ({subscription-id}, {resource-group}, {hsm-name}, {tenant-id}, and {admin-object-id}) that the user should replace with their specific values.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/invoke-azrestmethod
-
-
-
-
-
- Open-AzSurveyLink
- Open
- AzSurveyLink
-
- Open survey link in default browser.
-
-
-
- Open survey link in default browser.
-
-
-
- Open-AzSurveyLink
-
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Open-AzSurveyLink
-
-Opening the default browser to https://aka.ms/azpssurvey?Q_CHL=INTERCEPT
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/open-azsurveylink
-
-
-
-
-
- Register-AzModule
- Register
- AzModule
-
- FOR INTERNAL USE ONLY - Provide Runtime Support for AutoRest Generated cmdlets
-
-
-
- FOR INTERNAL USE ONLY - Provide Runtime Support for AutoRest Generated cmdlets
-
-
-
- Register-AzModule
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Object
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Register-AzModule
-
- Used Internally by AutoRest-generated cmdlets
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/register-azmodule
-
-
-
-
-
- Remove-AzContext
- Remove
- AzContext
-
- Remove a context from the set of available contexts
-
-
-
- Remove an azure context from the set of contexts
-
-
-
- Remove-AzContext
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Remove context even if it is the default
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- InputObject
-
- A context object, normally passed through the pipeline.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- PassThru
-
- Return the removed context
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Remove-AzContext
-
- Name
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Remove context even if it is the default
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Return the removed context
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Remove context even if it is the default
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- InputObject
-
- A context object, normally passed through the pipeline.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- Name
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- PassThru
-
- Return the removed context
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Remove-AzContext -Name Default
-
- Remove the context named default
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/remove-azcontext
-
-
-
-
-
- Remove-AzEnvironment
- Remove
- AzEnvironment
-
- Removes endpoints and metadata for connecting to a given Azure instance.
-
-
-
- The Remove-AzEnvironment cmdlet removes endpoints and metadata information for connecting to a given Azure instance.
-
-
-
- Remove-AzEnvironment
-
- Name
-
- Specifies the name of the environment to remove.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Name
-
- Specifies the name of the environment to remove.
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
- ----- Example 1: Creating and removing a test environment -----
- Add-AzEnvironment -Name TestEnvironment `
- -ActiveDirectoryEndpoint TestADEndpoint `
- -ActiveDirectoryServiceEndpointResourceId TestADApplicationId `
- -ResourceManagerEndpoint TestRMEndpoint `
- -GalleryEndpoint TestGalleryEndpoint `
- -GraphEndpoint TestGraphEndpoint
-
-Name Resource Manager Url ActiveDirectory Authority
----- -------------------- -------------------------
-TestEnvironment TestRMEndpoint TestADEndpoint/
-
-Remove-AzEnvironment -Name TestEnvironment
-
-Name Resource Manager Url ActiveDirectory Authority
----- -------------------- -------------------------
-TestEnvironment TestRMEndpoint TestADEndpoint/
-
- This example shows how to create an environment using Add-AzEnvironment, and then how to delete the environment using Remove-AzEnvironment.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/remove-azenvironment
-
-
- Add-AzEnvironment
-
-
-
- Get-AzEnvironment
-
-
-
- Set-AzEnvironment
-
-
-
-
-
-
- Rename-AzContext
- Rename
- AzContext
-
- Rename an Azure context. By default contexts are named by user account and subscription.
-
-
-
- Rename an Azure context. By default contexts are named by user account and subscription.
-
-
-
- Rename-AzContext
-
- TargetName
-
- The new name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Rename the context even if the target context already exists
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- InputObject
-
- A context object, normally passed through the pipeline.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- PassThru
-
- Return the renamed context.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Rename-AzContext
-
- SourceName
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- TargetName
-
- The new name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Rename the context even if the target context already exists
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- PassThru
-
- Return the renamed context.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Rename the context even if the target context already exists
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- InputObject
-
- A context object, normally passed through the pipeline.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- PassThru
-
- Return the renamed context.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- SourceName
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- TargetName
-
- The new name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
-
-
-
-
- ------ Example 1: Rename a context using named parameters ------
- Rename-AzContext -SourceName "[user1@contoso.org; 12345-6789-2345-3567890]" -TargetName "Work"
-
- Rename the context for 'user1@contoso.org' with subscription '12345-6789-2345-3567890' to 'Work'. After this command, you will be able to target the context using 'Select-AzContext Work'. Note that you can tab through the values for 'SourceName' using tab completion.
-
-
-
-
-
- --- Example 2: Rename a context using positional parameters ---
- Rename-AzContext "My context" "Work"
-
- Rename the context named "My context" to "Work". After this command, you will be able to target the context using Select-AzContext Work
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/rename-azcontext
-
-
-
-
-
- Resolve-AzError
- Resolve
- AzError
-
- Display detailed information about PowerShell errors, with extended details for Azure PowerShell errors.
-
-
-
- Resolves and displays detailed information about errors in the current PowerShell session, including where the error occurred in script, stack trace, and all inner and aggregate exceptions. For Azure PowerShell errors provides additional detail in debugging service issues, including complete detail about the request and server response that caused the error.
-
-
-
- Resolve-AzError
-
- Error
-
- One or more error records to resolve. If no parameters are specified, all errors in the session are resolved.
-
- System.Management.Automation.ErrorRecord[]
-
- System.Management.Automation.ErrorRecord[]
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
-
- Resolve-AzError
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Last
-
- Resolve only the last error that occurred in the session.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Error
-
- One or more error records to resolve. If no parameters are specified, all errors in the session are resolved.
-
- System.Management.Automation.ErrorRecord[]
-
- System.Management.Automation.ErrorRecord[]
-
-
- None
-
-
- Last
-
- Resolve only the last error that occurred in the session.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.Management.Automation.ErrorRecord[]
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Errors.AzureErrorRecord
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Errors.AzureExceptionRecord
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Errors.AzureRestExceptionRecord
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------- Example 1: Resolve the Last Error --------------
- Resolve-AzError -Last
-
-HistoryId: 3
-
-
-Message : Run Connect-AzAccount to login.
-StackTrace : at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.get_DefaultContext() in AzureRmCmdlet.cs:line 85
- at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.LogCmdletStartInvocationInfo() in AzureRmCmdlet.cs:line 269
- at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.BeginProcessing() inAzurePSCmdlet.cs:line 299
- at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.BeginProcessing() in AzureRmCmdlet.cs:line 320
- at Microsoft.Azure.Commands.Profile.GetAzureRMSubscriptionCommand.BeginProcessing() in GetAzureRMSubscription.cs:line 49
- at System.Management.Automation.Cmdlet.DoBeginProcessing()
- at System.Management.Automation.CommandProcessorBase.DoBegin()
-Exception : System.Management.Automation.PSInvalidOperationException
-InvocationInfo : {Get-AzSubscription}
-Line : Get-AzSubscription
-Position : At line:1 char:1
- + Get-AzSubscription
- + ~~~~~~~~~~~~~~~~~~~~~~~
-HistoryId : 3
-
- Get details of the last error.
-
-
-
-
-
- --------- Example 2: Resolve all Errors in the Session ---------
- Resolve-AzError
-
-HistoryId: 8
-
-
-RequestId : b61309e8-09c9-4f0d-ba56-08a6b28c731d
-Message : Resource group 'contoso' could not be found.
-ServerMessage : ResourceGroupNotFound: Resource group 'contoso' could not be found.
- (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
-ServerResponse : {NotFound}
-RequestMessage : {GET https://management.azure.com/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d/resourceGroups/co
- ntoso/providers/Microsoft.Storage/storageAccounts/contoso?api-version=2016-12-01}
-InvocationInfo : {Get-AzStorageAccount}
-Line : Get-AzStorageAccount -ResourceGroupName contoso -Name contoso
-Position : At line:1 char:1
- + Get-AzStorageAccount -ResourceGroupName contoso -Name contoso
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-StackTrace : at Microsoft.Azure.Management.Storage.StorageAccountsOperations.<GetPropertiesWithHttpMessagesAsync
- >d__8.MoveNext()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.<GetPropertiesAsync>d__7.
- MoveNext()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetProperties(IStorageAcc
- ountsOperations operations, String resourceGroupName, String accountName)
- at Microsoft.Azure.Commands.Management.Storage.GetAzureStorageAccountCommand.ExecuteCmdlet() in C:\
- zd\azure-powershell\src\ResourceManager\Storage\Commands.Management.Storage\StorageAccount\GetAzureSto
- rageAccount.cs:line 70
- at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord() in
- C:\zd\azure-powershell\src\Common\Commands.Common\AzurePSCmdlet.cs:line 642
-HistoryId : 8
-
-
- HistoryId: 5
-
-
-Message : Run Connect-AzAccount to login.
-StackTrace : at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.get_DefaultContext() in C:\zd\azur
- e-powershell\src\ResourceManager\Common\Commands.ResourceManager.Common\AzureRmCmdlet.cs:line 85
- at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.LogCmdletStartInvocationInfo() in
- C:\zd\azure-powershell\src\ResourceManager\Common\Commands.ResourceManager.Common\AzureRmCmdlet.cs:lin
- e 269
- at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.BeginProcessing() in
- C:\zd\azure-powershell\src\Common\Commands.Common\AzurePSCmdlet.cs:line 299
- at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet.BeginProcessing() in C:\zd\azure-p
- owershell\src\ResourceManager\Common\Commands.ResourceManager.Common\AzureRmCmdlet.cs:line 320
- at Microsoft.Azure.Commands.Profile.GetAzureRMSubscriptionCommand.BeginProcessing() in C:\zd\azure-
- powershell\src\ResourceManager\Profile\Commands.Profile\Subscription\GetAzureRMSubscription.cs:line 49
- at System.Management.Automation.Cmdlet.DoBeginProcessing()
- at System.Management.Automation.CommandProcessorBase.DoBegin()
-Exception : System.Management.Automation.PSInvalidOperationException
-InvocationInfo : {Get-AzSubscription}
-Line : Get-AzSubscription
-Position : At line:1 char:1
- + Get-AzSubscription
- + ~~~~~~~~~~~~~~~~~~~~~~~
-HistoryId : 5
-
- Get details of all errors that have occurred in the current session.
-
-
-
-
-
- ------------- Example 3: Resolve a Specific Error -------------
- Resolve-AzError $Error[0]
-
-HistoryId: 8
-
-
-RequestId : b61309e8-09c9-4f0d-ba56-08a6b28c731d
-Message : Resource group 'contoso' could not be found.
-ServerMessage : ResourceGroupNotFound: Resource group 'contoso' could not be found.
- (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
-ServerResponse : {NotFound}
-RequestMessage : {GET https://management.azure.com/subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d/resourceGroups/co
- ntoso/providers/Microsoft.Storage/storageAccounts/contoso?api-version=2016-12-01}
-InvocationInfo : {Get-AzStorageAccount}
-Line : Get-AzStorageAccount -ResourceGroupName contoso -Name contoso
-Position : At line:1 char:1
- + Get-AzStorageAccount -ResourceGroupName contoso -Name contoso
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-StackTrace : at Microsoft.Azure.Management.Storage.StorageAccountsOperations.<GetPropertiesWithHttpMessagesAsync
- >d__8.MoveNext()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.<GetPropertiesAsync>d__7.
- MoveNext()
- --- End of stack trace from previous location where exception was thrown ---
- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
- at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- at Microsoft.Azure.Management.Storage.StorageAccountsOperationsExtensions.GetProperties(IStorageAcc
- ountsOperations operations, String resourceGroupName, String accountName)
- at Microsoft.Azure.Commands.Management.Storage.GetAzureStorageAccountCommand.ExecuteCmdlet() in C:\
- zd\azure-powershell\src\ResourceManager\Storage\Commands.Management.Storage\StorageAccount\GetAzureSto
- rageAccount.cs:line 70
- at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord() in
- C:\zd\azure-powershell\src\Common\Commands.Common\AzurePSCmdlet.cs:line 642
-HistoryId : 8
-
- Get details of the specified error.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/resolve-azerror
-
-
-
-
-
- Save-AzContext
- Save
- AzContext
-
- Saves the current authentication information for use in other PowerShell sessions.
-
-
-
- The Save-AzContext cmdlet saves the current authentication information for use in other PowerShell sessions.
-
-
-
- Save-AzContext
-
- Profile
-
- Specifies the Azure context from which this cmdlet reads. If you do not specify a context, this cmdlet reads from the local default context.
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
-
- None
-
-
- Path
-
- Specifies the path of the file to which to save authentication information.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Overwrite the given file if it exists
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WithCredential
-
- Export the credentials to the file
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Overwrite the given file if it exists
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Path
-
- Specifies the path of the file to which to save authentication information.
-
- System.String
-
- System.String
-
-
- None
-
-
- Profile
-
- Specifies the Azure context from which this cmdlet reads. If you do not specify a context, this cmdlet reads from the local default context.
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
-
- None
-
-
- WithCredential
-
- Export the credentials to the file
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureProfile
-
-
-
-
-
-
-
-
-
-
-
-
-
- ------- Example 1: Saving the current session's context -------
- Connect-AzAccount
-Save-AzContext -Path C:\test.json
-
- This example saves the current session's Azure context to the JSON file provided.
-
-
-
-
-
- -------------- Example 2: Saving a given context --------------
- Save-AzContext -Profile (Connect-AzAccount) -Path C:\test.json
-
- This example saves the Azure context that is passed through to the cmdlet to the JSON file provided.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/save-azcontext
-
-
-
-
-
- Select-AzContext
- Select
- AzContext
-
- Select a subscription and account to target in Azure PowerShell cmdlets
-
-
-
- Select a subscription to target (or account or tenant) in Azure PowerShell cmdlets. After this cmdlet, future cmdlets will target the selected context.
-
-
-
- Select-AzContext
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- InputObject
-
- A context object, normally passed through the pipeline.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Select-AzContext
-
- Name
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant and subscription used for communication with azure
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- InputObject
-
- A context object, normally passed through the pipeline.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- Name
-
- The name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------- Example 1: Target a named context --------------
- Select-AzContext "Work"
-
-Name Account SubscriptionName Environment TenantId
----- ------- ---------------- ----------- --------
-Work test@outlook.com Subscription1 AzureCloud xxxxxxxx-x...
-
- Target future Azure PowerShell cmdlets at the account, tenant, and subscription in the 'Work' context.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Select-AzContext -Name TestEnvironment -Scope Process
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/select-azcontext
-
-
-
-
-
- Send-Feedback
- Send
- Feedback
-
- Sends feedback to the Azure PowerShell team via a set of guided prompts.
-
-
-
- The Send-Feedback cmdlet sends feedback to the Azure PowerShell team.
-
-
-
- Send-Feedback
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
-
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.Void
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1: --------------------------
- Send-Feedback
-
-With zero (0) being the least and ten (10) being the most, how likely are you to recommend Azure PowerShell to a friend or colleague?
-
-10
-
-What does Azure PowerShell do well?
-
-Response.
-
-Upon what could Azure PowerShell improve?
-
-Response.
-
-Please enter your email if you are interested in providing follow up information:
-
-your@email.com
-
-
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/send-feedback
-
-
-
-
-
- Set-AzContext
- Set
- AzContext
-
- Sets the tenant, subscription, and environment for cmdlets to use in the current session.
-
-
-
- The Set-AzContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.
-
-
-
- Set-AzContext
-
- Context
-
- Specifies the context for the current session.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ExtendedProperty
-
- Additional context properties
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name, if any.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- Name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Set-AzContext
-
- Subscription
-
- The name or id of the subscription that the context should be set to. This parameter has aliases to -SubscriptionName and -SubscriptionId, so, for clarity, either of these can be used instead of -Subscription when specifying name and id, respectively.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ExtendedProperty
-
- Additional context properties
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name, if any.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- Name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Tenant
-
- Tenant domain name or ID
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Set-AzContext
-
- SubscriptionObject
-
- A subscription object
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ExtendedProperty
-
- Additional context properties
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name, if any.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- Name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Set-AzContext
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ExtendedProperty
-
- Additional context properties
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name, if any.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- Name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Tenant
-
- Tenant domain name or ID
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Set-AzContext
-
- TenantObject
-
- A Tenant Object
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ExtendedProperty
-
- Additional context properties
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name, if any.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- Name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Context
-
- Specifies the context for the current session.
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
- None
-
-
- DefaultProfile
-
- The credentials, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- ExtendedProperty
-
- Additional context properties
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
- System.Collections.Generic.IDictionary`2[System.String,System.String]
-
-
- None
-
-
- Force
-
- Overwrite the existing context with the same name, if any.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Name
-
- Name of the context
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Subscription
-
- The name or id of the subscription that the context should be set to. This parameter has aliases to -SubscriptionName and -SubscriptionId, so, for clarity, either of these can be used instead of -Subscription when specifying name and id, respectively.
-
- System.String
-
- System.String
-
-
- None
-
-
- SubscriptionObject
-
- A subscription object
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
-
- None
-
-
- Tenant
-
- Tenant domain name or ID
-
- System.String
-
- System.String
-
-
- None
-
-
- TenantObject
-
- A Tenant Object
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureTenant
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
-
-
-
-
-
-
-
-
-
-
-
-
-
- ----------- Example 1: Set the subscription context -----------
- Set-AzContext -Subscription "xxxx-xxxx-xxxx-xxxx"
-
-Name Account SubscriptionName Environment TenantId
----- ------- ---------------- ----------- --------
-Work test@outlook.com Subscription1 AzureCloud xxxxxxxx-x...
-
- This command sets the context to use the specified subscription.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/set-azcontext
-
-
- Get-AzContext
-
-
-
-
-
-
- Set-AzDefault
- Set
- AzDefault
-
- Sets a default in the current context
-
-
-
- The Set-AzDefault cmdlet adds or changes the defaults in the current context.
-
-
-
- Set-AzDefault
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Create a new resource group if specified default does not exist
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ResourceGroupName
-
- Name of the resource group being set as default
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Force
-
- Create a new resource group if specified default does not exist
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- ResourceGroupName
-
- Name of the resource group being set as default
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSResourceGroup
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Set-AzDefault -ResourceGroupName myResourceGroup
-
-Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup
-Name : myResourceGroup
-Properties : Microsoft.Azure.Management.Internal.Resources.Models.ResourceGroupProperties
-Location : eastus
-ManagedBy :
-Tags :
-
- This command sets the default resource group to the resource group specified by the user.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/set-azdefault
-
-
-
-
-
- Set-AzEnvironment
- Set
- AzEnvironment
-
- Sets properties for an Azure environment.
-
-
-
- The Set-AzEnvironment cmdlet sets endpoints and metadata for connecting to an instance of Azure.
-
-
-
- Set-AzEnvironment
-
- Name
-
- Specifies the name of the environment to modify.
-
- System.String
-
- System.String
-
-
- None
-
-
- PublishSettingsFileUrl
-
- Specifies the URL from which .publishsettings files can be downloaded.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultDnsSuffix
-
- Dns suffix of Azure Key Vault service. Example is vault-int.azure-int.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- Resource identifier of Azure Key Vault data service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- TrafficManagerDnsSuffix
-
- Specifies the domain-name suffix for Azure Traffic Manager services.
-
- System.String
-
- System.String
-
-
- None
-
-
- SqlDatabaseDnsSuffix
-
- Specifies the domain-name suffix for Azure SQL Database servers.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeStoreFileSystemEndpointSuffix
-
- Dns Suffix of Azure Data Lake Store FileSystem. Example: azuredatalake.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
-
- Dns Suffix of Azure Data Lake Analytics job and catalog services
-
- System.String
-
- System.String
-
-
- None
-
-
- EnableAdfsAuthentication
-
- Indicates that Active Directory Federation Services (ADFS) on-premise authentication is allowed.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- AdTenant
-
- Specifies the default Active Directory tenant.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphAudience
-
- The audience for tokens authenticating with the AD Graph Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- DataLakeAudience
-
- The audience for tokens authenticating with the AD Data Lake services Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- ServiceEndpoint
-
- Specifies the endpoint for Service Management (RDFE) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- BatchEndpointResourceId
-
- The resource identifier of the Azure Batch service that is the recipient of the requested token
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpointResourceId
-
- The audience for tokens authenticating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpoint
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- ManagementPortalUrl
-
- Specifies the URL for the Management Portal.
-
- System.String
-
- System.String
-
-
- None
-
-
- StorageEndpoint
-
- Specifies the endpoint for storage (blob, table, queue, and file) access.
-
- System.String
-
- System.String
-
-
- None
-
-
- ActiveDirectoryEndpoint
-
- Specifies the base authority for Azure Active Directory authentication.
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceManagerEndpoint
-
- Specifies the URL for Azure Resource Manager requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery of deployment templates. The parameter is to set the value to `GalleryUrl` of `PSAzureEnvironment`. As `GalleryUrl` is removed from ArmMetadata, Azure PowerShell will no longer provide for the value and so it is not recommended to set `GalleryEndpoint` anymore.
-
- System.String
-
- System.String
-
-
- None
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the audience for tokens that authenticate requests to Azure Resource Manager or Service Management (RDFE) endpoints.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphEndpoint
-
- Specifies the URL for Graph (Active Directory metadata) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointResourceId
-
- The resource identifier of the Azure Analysis Services resource.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointSuffix
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointResourceId
-
- The The resource identifier of the Azure Attestation service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointSuffix
-
- Dns suffix of Azure Attestation service.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointResourceId
-
- The The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointSuffix
-
- Dns suffix of Azure Synapse Analytics.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContainerRegistryEndpointSuffix
-
- Suffix of Azure Container Registry.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- MicrosoftGraphEndpointResourceId
-
- The resource identifier of Microsoft Graph
-
- System.String
-
- System.String
-
-
- None
-
-
- MicrosoftGraphUrl
-
- Microsoft Graph Url
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
- Set-AzEnvironment
-
- Name
-
- Specifies the name of the environment to modify.
-
- System.String
-
- System.String
-
-
- None
-
-
- ARMEndpoint
-
- The Azure Resource Manager endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultDnsSuffix
-
- Dns suffix of Azure Key Vault service. Example is vault-int.azure-int.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- Resource identifier of Azure Key Vault data service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- DataLakeAudience
-
- The audience for tokens authenticating with the AD Data Lake services Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- BatchEndpointResourceId
-
- The resource identifier of the Azure Batch service that is the recipient of the requested token
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpointResourceId
-
- The audience for tokens authenticating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpoint
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- StorageEndpoint
-
- Specifies the endpoint for storage (blob, table, queue, and file) access.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointResourceId
-
- The resource identifier of the Azure Analysis Services resource.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointSuffix
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointResourceId
-
- The The resource identifier of the Azure Attestation service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointSuffix
-
- Dns suffix of Azure Attestation service.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointResourceId
-
- The The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointSuffix
-
- Dns suffix of Azure Synapse Analytics.
-
- System.String
-
- System.String
-
-
- None
-
-
- ContainerRegistryEndpointSuffix
-
- Suffix of Azure Container Registry.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
-
- Process
- CurrentUser
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- ActiveDirectoryEndpoint
-
- Specifies the base authority for Azure Active Directory authentication.
-
- System.String
-
- System.String
-
-
- None
-
-
- ActiveDirectoryServiceEndpointResourceId
-
- Specifies the audience for tokens that authenticate requests to Azure Resource Manager or Service Management (RDFE) endpoints.
-
- System.String
-
- System.String
-
-
- None
-
-
- AdTenant
-
- Specifies the default Active Directory tenant.
-
- System.String
-
- System.String
-
-
- None
-
-
- ARMEndpoint
-
- The Azure Resource Manager endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointResourceId
-
- The resource identifier of the Azure Analysis Services resource.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAnalysisServicesEndpointSuffix
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointResourceId
-
- The The resource identifier of the Azure Attestation service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureAttestationServiceEndpointSuffix
-
- Dns suffix of Azure Attestation service.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
-
- Dns Suffix of Azure Data Lake Analytics job and catalog services
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureDataLakeStoreFileSystemEndpointSuffix
-
- Dns Suffix of Azure Data Lake Store FileSystem. Example: azuredatalake.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultDnsSuffix
-
- Dns suffix of Azure Key Vault service. Example is vault-int.azure-int.net
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureKeyVaultServiceEndpointResourceId
-
- Resource identifier of Azure Key Vault data service that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpoint
-
- The endpoint to use when communicating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureOperationalInsightsEndpointResourceId
-
- The audience for tokens authenticating with the Azure Log Analytics API.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointResourceId
-
- The The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.
-
- System.String
-
- System.String
-
-
- None
-
-
- AzureSynapseAnalyticsEndpointSuffix
-
- Dns suffix of Azure Synapse Analytics.
-
- System.String
-
- System.String
-
-
- None
-
-
- BatchEndpointResourceId
-
- The resource identifier of the Azure Batch service that is the recipient of the requested token
-
- System.String
-
- System.String
-
-
- None
-
-
- ContainerRegistryEndpointSuffix
-
- Suffix of Azure Container Registry.
-
- System.String
-
- System.String
-
-
- None
-
-
- DataLakeAudience
-
- The audience for tokens authenticating with the AD Data Lake services Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant and subscription used for communication with azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- EnableAdfsAuthentication
-
- Indicates that Active Directory Federation Services (ADFS) on-premise authentication is allowed.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- GalleryEndpoint
-
- Specifies the endpoint for the Azure Resource Manager gallery of deployment templates. The parameter is to set the value to `GalleryUrl` of `PSAzureEnvironment`. As `GalleryUrl` is removed from ArmMetadata, Azure PowerShell will no longer provide for the value and so it is not recommended to set `GalleryEndpoint` anymore.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphAudience
-
- The audience for tokens authenticating with the AD Graph Endpoint.
-
- System.String
-
- System.String
-
-
- None
-
-
- GraphEndpoint
-
- Specifies the URL for Graph (Active Directory metadata) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- ManagementPortalUrl
-
- Specifies the URL for the Management Portal.
-
- System.String
-
- System.String
-
-
- None
-
-
- MicrosoftGraphEndpointResourceId
-
- The resource identifier of Microsoft Graph
-
- System.String
-
- System.String
-
-
- None
-
-
- MicrosoftGraphUrl
-
- Microsoft Graph Url
-
- System.String
-
- System.String
-
-
- None
-
-
- Name
-
- Specifies the name of the environment to modify.
-
- System.String
-
- System.String
-
-
- None
-
-
- PublishSettingsFileUrl
-
- Specifies the URL from which .publishsettings files can be downloaded.
-
- System.String
-
- System.String
-
-
- None
-
-
- ResourceManagerEndpoint
-
- Specifies the URL for Azure Resource Manager requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- Scope
-
- Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user.
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
- Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
-
-
- None
-
-
- ServiceEndpoint
-
- Specifies the endpoint for Service Management (RDFE) requests.
-
- System.String
-
- System.String
-
-
- None
-
-
- SqlDatabaseDnsSuffix
-
- Specifies the domain-name suffix for Azure SQL Database servers.
-
- System.String
-
- System.String
-
-
- None
-
-
- StorageEndpoint
-
- Specifies the endpoint for storage (blob, table, queue, and file) access.
-
- System.String
-
- System.String
-
-
- None
-
-
- TrafficManagerDnsSuffix
-
- Specifies the domain-name suffix for Azure Traffic Manager services.
-
- System.String
-
- System.String
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
- System.Management.Automation.SwitchParameter
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSAzureEnvironment
-
-
-
-
-
-
-
-
-
-
-
-
-
- ----- Example 1: Creating and modifying a new environment -----
- Add-AzEnvironment -Name TestEnvironment `
- -ActiveDirectoryEndpoint TestADEndpoint `
- -ActiveDirectoryServiceEndpointResourceId TestADApplicationId `
- -ResourceManagerEndpoint TestRMEndpoint `
- -GalleryEndpoint TestGalleryEndpoint `
- -GraphEndpoint TestGraphEndpoint
-
-Name Resource Manager Url ActiveDirectory Authority
----- -------------------- -------------------------
-TestEnvironment TestRMEndpoint TestADEndpoint/
-
-Set-AzEnvironment -Name TestEnvironment `
- -ActiveDirectoryEndpoint NewTestADEndpoint `
- -GraphEndpoint NewTestGraphEndpoint | Format-List
-
-Name : TestEnvironment
-EnableAdfsAuthentication : False
-ActiveDirectoryServiceEndpointResourceId : TestADApplicationId
-AdTenant :
-GalleryUrl : TestGalleryEndpoint
-ManagementPortalUrl :
-ServiceManagementUrl :
-PublishSettingsFileUrl :
-ResourceManagerUrl : TestRMEndpoint
-SqlDatabaseDnsSuffix :
-StorageEndpointSuffix :
-ActiveDirectoryAuthority : NewTestADEndpoint
-GraphUrl : NewTestGraphEndpoint
-GraphEndpointResourceId :
-TrafficManagerDnsSuffix :
-AzureKeyVaultDnsSuffix :
-AzureDataLakeStoreFileSystemEndpointSuffix :
-AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix :
-AzureKeyVaultServiceEndpointResourceId :
-BatchEndpointResourceId :
-AzureOperationalInsightsEndpoint :
-AzureOperationalInsightsEndpointResourceId :
-AzureAttestationServiceEndpointSuffix :
-AzureAttestationServiceEndpointResourceId :
-AzureSynapseAnalyticsEndpointSuffix :
-AzureSynapseAnalyticsEndpointResourceId :
-
- In this example we are creating a new Azure environment with sample endpoints using Add-AzEnvironment, and then we are changing the value of the ActiveDirectoryEndpoint and GraphEndpoint attributes of the created environment using the cmdlet Set-AzEnvironment.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/set-azenvironment
-
-
- Add-AzEnvironment
-
-
-
- Get-AzEnvironment
-
-
-
- Remove-AzEnvironment
-
-
-
-
-
-
- Uninstall-AzureRm
- Uninstall
- AzureRm
-
- Removes all AzureRm modules from a machine.
-
-
-
- Removes all AzureRm modules from a machine.
-
-
-
- Uninstall-AzureRm
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- PassThru
-
- Return list of Modules removed if specified.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- PassThru
-
- Return list of Modules removed if specified.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- None
-
-
-
-
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Uninstall-AzureRm
-
- Running this command will remove all AzureRm modules from the machine for the version of PowerShell in which the cmdlet is run.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/uninstall-azurerm
-
-
-
-
-
- Update-AzConfig
- Update
- AzConfig
-
- Updates the configs of Azure PowerShell.
-
-
-
- Updates the configs of Azure PowerShell. Depending on which config to update, you may specify the scope where the config is persisted and to which module or cmdlet it applies to.
- > [!NOTE] > It is discouraged to update configs in multiple PowerShell processes. Either do it in one process, or make sure the updates are at Process scope (`-Scope Process`) to avoid unexpected side-effects.
-
-
-
- Update-AzConfig
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- CheckForUpgrade
-
- When enabled, Azure PowerShell will check for updates automatically and display a hint message when an update is available. The default value is true.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- DefaultSubscriptionForLogin
-
- Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
-
- System.String
-
- System.String
-
-
- None
-
-
- DisableInstanceDiscovery
-
- Set it to true to disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack. The process of instance discovery entails retrieving authority metadata from https://login.microsoft.com/ to validate the authority. By setting this to true, the validation of the authority is disabled. As a result, it is crucial to ensure that the configured authority host is valid and trustworthy.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplayBreakingChangeWarning
-
- Controls if warning messages for breaking changes are displayed or suppressed. When enabled, a breaking change warning is displayed when executing cmdlets with breaking changes in a future release.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplayRegionIdentified
-
- When enabled, Azure PowerShell displays recommendations on regions which may reduce your costs.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplaySecretsWarning
-
- When enabled, a warning message will be displayed when the cmdlet output contains secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplaySurveyMessage
-
- When enabled, you are prompted infrequently to participate in user experience surveys for Azure PowerShell.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- EnableDataCollection
-
- When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience. For more information, see our privacy statement: https://aka.ms/privacy
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- EnableErrorRecordsPersistence
-
- When enabled, error records will be written to ~/.Azure/ErrorRecords.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- EnableLoginByWam
-
- [Preview] When enabled, Web Account Manager (WAM) will be the default interactive login experience. It will fall back to using the browser if the platform does not support WAM. Note that this feature is under preview. Microsoft Account (MSA) is currently not supported. Feel free to reach out to Azure PowerShell team if you have any feedbacks: https://aka.ms/azpsissue
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- LoginExperienceV2
-
- Only active when authenticating interactively, allows the user to choose the subscription and tenant used in subsequent commands. Possible values ad 'On' (Default) and 'Off'. 'On' requires user's input. 'Off' will use the first tenant and subscription returned by Azure, can change without notice and lead to command execution in an unwanted context (not recommended).
-
-
- On
- Off
-
- Microsoft.Azure.Commands.Common.Authentication.Config.Models.LoginExperienceConfig
-
- Microsoft.Azure.Commands.Common.Authentication.Config.Models.LoginExperienceConfig
-
-
- None
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
-
- CurrentUser
- Process
- Default
- Environment
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- AppliesTo
-
- Specifies what part of Azure PowerShell the config applies to. Possible values are: - "Az": the config applies to all modules and cmdlets of Azure PowerShell.
- - Module name: the config applies to a certain module of Azure PowerShell.
- For example, "Az.Storage". - Cmdlet name: the config applies to a certain cmdlet of Azure PowerShell. For example, "Get-AzKeyVault". If not specified, when getting or clearing configs, it defaults to all the above; when updating, it defaults to "Az".
-
- System.String
-
- System.String
-
-
- None
-
-
- CheckForUpgrade
-
- When enabled, Azure PowerShell will check for updates automatically and display a hint message when an update is available. The default value is true.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DefaultProfile
-
- The credentials, account, tenant, and subscription used for communication with Azure.
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
- Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-
-
- None
-
-
- DefaultSubscriptionForLogin
-
- Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
-
- System.String
-
- System.String
-
-
- None
-
-
- DisableInstanceDiscovery
-
- Set it to true to disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack. The process of instance discovery entails retrieving authority metadata from https://login.microsoft.com/ to validate the authority. By setting this to true, the validation of the authority is disabled. As a result, it is crucial to ensure that the configured authority host is valid and trustworthy.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplayBreakingChangeWarning
-
- Controls if warning messages for breaking changes are displayed or suppressed. When enabled, a breaking change warning is displayed when executing cmdlets with breaking changes in a future release.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplayRegionIdentified
-
- When enabled, Azure PowerShell displays recommendations on regions which may reduce your costs.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplaySecretsWarning
-
- When enabled, a warning message will be displayed when the cmdlet output contains secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- DisplaySurveyMessage
-
- When enabled, you are prompted infrequently to participate in user experience surveys for Azure PowerShell.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- EnableDataCollection
-
- When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience. For more information, see our privacy statement: https://aka.ms/privacy
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- EnableErrorRecordsPersistence
-
- When enabled, error records will be written to ~/.Azure/ErrorRecords.
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- EnableLoginByWam
-
- [Preview] When enabled, Web Account Manager (WAM) will be the default interactive login experience. It will fall back to using the browser if the platform does not support WAM. Note that this feature is under preview. Microsoft Account (MSA) is currently not supported. Feel free to reach out to Azure PowerShell team if you have any feedbacks: https://aka.ms/azpsissue
-
- System.Boolean
-
- System.Boolean
-
-
- None
-
-
- LoginExperienceV2
-
- Only active when authenticating interactively, allows the user to choose the subscription and tenant used in subsequent commands. Possible values ad 'On' (Default) and 'Off'. 'On' requires user's input. 'Off' will use the first tenant and subscription returned by Azure, can change without notice and lead to command execution in an unwanted context (not recommended).
-
- Microsoft.Azure.Commands.Common.Authentication.Config.Models.LoginExperienceConfig
-
- Microsoft.Azure.Commands.Common.Authentication.Config.Models.LoginExperienceConfig
-
-
- None
-
-
- Scope
-
- Determines the scope of config changes, for example, whether changes apply only to the current process, or to all sessions started by this user. By default it is CurrentUser.
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
- Microsoft.Azure.PowerShell.Common.Config.ConfigScope
-
-
- None
-
-
- Confirm
-
- Prompts you for confirmation before running the cmdlet.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
- WhatIf
-
- Shows what would happen if the cmdlet runs. The cmdlet is not run.
-
- System.Management.Automation.SwitchParameter
-
- System.Management.Automation.SwitchParameter
-
-
- False
-
-
-
-
-
- System.Boolean
-
-
-
-
-
-
-
- System.String
-
-
-
-
-
-
-
-
-
- Microsoft.Azure.Commands.Profile.Models.PSConfig
-
-
-
-
-
-
-
-
-
-
-
-
-
- -------------------------- Example 1 --------------------------
- Update-AzConfig -DefaultSubscriptionForLogin "Name of subscription"
-
-Key Value Applies To Scope Help Message
---- ----- ---------- ----- ------------
-DefaultSubscriptionForLogin Name of subscription Az CurrentUser Subscription name or GUID. Sets the default context for Azure PowerShell when lo…
-
- Sets the "DefaultSubscriptionForLogin" config as "Name of subscription". When `Connect-AzAccount` the specified subscription will be selected as the default subscription.
-
-
-
-
-
- -------------------------- Example 2 --------------------------
- Update-AzConfig -DisplayBreakingChangeWarning $false -AppliesTo "Az.KeyVault"
-
-Key Value Applies To Scope Help Message
---- ----- ---------- ----- ------------
-DisplayBreakingChangeWarning False Az.KeyVault CurrentUser Controls if warning messages for breaking changes are displayed or suppressed. When enabled,…
-
- Sets the "DisplayBreakingChangeWarnings" config as "$false" for "Az.KeyVault" module. This prevents all the warning messages for upcoming breaking changes in Az.KeyVault module from prompting.
-
-
-
-
-
- -------------------------- Example 3 --------------------------
- Update-AzConfig -EnableDataCollection $true
-
-Key Value Applies To Scope Help Message
---- ----- ---------- ----- ------------
-EnableDataCollection True Az CurrentUser When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experi…
-
- Sets the "EnableDataCollection" config as "$true". This enables sending the telemetry data. Setting this config is equivalent to `Enable-AzDataCollection` and `Disable-AzDataCollection`.
-
-
-
-
-
- -------------------------- Example 4 --------------------------
- Update-AzConfig -DisplaySecretsWarning $true
-
-Key Value Applies To Scope Help Message
---- ----- ---------- ----- ------------
-DisplaySecretsWarning True Az CurrentUser When enabled, a warning message for secrets redaction will be displ…
-
- Sets the "DisplaySecretsWarning" config as "$true". This enables the secrets detection during the cmdlet execution and displays a warning message if any secrets are found in the output.
-
-
-
-
-
-
-
- Online Version:
- https://learn.microsoft.com/powershell/module/az.accounts/update-azconfig
-
-
-
-
\ No newline at end of file
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Common.Share.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Common.Share.dll
deleted file mode 100644
index 55185ba74cd7..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Common.Share.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Common.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Common.dll
deleted file mode 100644
index d5609cf9109f..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Common.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Storage.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Storage.dll
deleted file mode 100644
index 0363dbdf57d8..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Storage.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Strategies.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Strategies.dll
deleted file mode 100644
index ffd2dd62cda8..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Azure.PowerShell.Strategies.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Rest.ClientRuntime.Azure.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Rest.ClientRuntime.Azure.dll
deleted file mode 100644
index 1d99c7015912..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Rest.ClientRuntime.Azure.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.Rest.ClientRuntime.dll b/Modules/Az.Accounts/4.0.2/Microsoft.Rest.ClientRuntime.dll
deleted file mode 100644
index a4fca7488baf..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.Rest.ClientRuntime.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/Microsoft.WindowsAzure.Storage.dll b/Modules/Az.Accounts/4.0.2/Microsoft.WindowsAzure.Storage.dll
deleted file mode 100644
index 70c5ed6806c6..000000000000
Binary files a/Modules/Az.Accounts/4.0.2/Microsoft.WindowsAzure.Storage.dll and /dev/null differ
diff --git a/Modules/Az.Accounts/4.0.2/PSGetModuleInfo.xml b/Modules/Az.Accounts/4.0.2/PSGetModuleInfo.xml
deleted file mode 100644
index e5c37af624ce..000000000000
--- a/Modules/Az.Accounts/4.0.2/PSGetModuleInfo.xml
+++ /dev/null
@@ -1,204 +0,0 @@
-
-
-
- Microsoft.PowerShell.Commands.PSRepositoryItemInfo
- System.Management.Automation.PSCustomObject
- System.Object
-
-
- Az.Accounts
- 4.0.2
- Module
- Microsoft Azure PowerShell - Accounts credential management cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core._x000D__x000A__x000D__x000A_For more information on account credential management, please visit the following: https://learn.microsoft.com/powershell/azure/authenticate-azureps
- Microsoft Corporation
- azure-sdk
- Microsoft Corporation. All rights reserved.
-