profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/dbelling/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Dan Belling dbelling @totalexpert Minneapolis, MN www.dbelling.cloud

dbelling/bridge-keeper-js 1

A node inquirer prompt for the Bridge of Death scene in Monty Python and the Holy Grail

dbelling/amazon-kinesis-client-ruby 0

A Ruby interface for the Amazon Kinesis Client Library. Allows developers to easily create robust application to process Amazon Kinesis streams in Ruby.

dbelling/aws-sam-cli 0

AWS SAM CLI ūüźŅ is a CLI tool for local development and testing of Serverless applications

dbelling/aws-sdk-php 0

Official repository of the AWS SDK for PHP (@awsforphp)

dbelling/aws-sdk-ruby 0

The official AWS SDK for Ruby.

dbelling/car 0

A simple Car class written in Ruby

dbelling/ChakraCore 0

ChakraCore is the core part of the Chakra JavaScript engine that powers Microsoft Edge

dbelling/change-api 0

A small ruby on rails application for optimizing change combinations.

dbelling/clem-fandango-bot 0

A Discord bot inspired by my favorite character from Toast of London

dbelling/college-choice 0

College Scorecard

issue commentAzure/azure-powershell

Azure Devops Release Pipeline tasks fails with migrated PowerBi related scripts

Sorry that I still cannot get the relationship between Azure PowerShell and your issue. The name of all Azure PowerShell cmdlet leads with Az. I have no idea about cmdlets you mentioned.

SuryaPractise

comment created time in 13 minutes

issue commentAzure/azure-powershell

Azure Devops Release Pipeline tasks fails with migrated PowerBi related scripts

I didn't find Get-PowerBIReport in PowerBiReportAutomation.txt you provided. Is there any other file?

Wanted to clarify Get-PowerBIReport,In AzureRm script Get-ListofReports defined and saw Get-PowerBIReport is new Az cmdlet so replaced Get-ListofReports and that's what i am running in pipeline and posted the log for same. Sorry for confusion.

SuryaPractise

comment created time in 16 minutes

issue commentAzure/azure-powershell

Azure Devops Release Pipeline tasks fails with migrated PowerBi related scripts

I didn't find Get-PowerBIReport in PowerBiReportAutomation.txt you provided. Is there any other file?

SuryaPractise

comment created time in 27 minutes

issue commentAzure/azure-powershell

Azure Devops Release Pipeline tasks fails with migrated PowerBi related scripts

Hi @SuryaPractise , Enable-AzureRmAlias worked well at the first version of Az 1.0 and 2.0. But this cmdlet is just simply mapping AzureRm cmdlet to Az. After 3 years, the gap between Az and AzureRM become larger and larger. The breaking change has been introduced in each Az major release and Azure service changed their behavior which is not controlled by Azure PowerShell client tool. For the time being, Enable-AzureRmAlias still can work but the issue should be resolved case by case.

For your problem, I can see error is from A positional parameter cannot be found that accepts argument 'Error in function Get-PowerBIReport. Actually there is no Get-PowerBIReport in your code.

Get-PowerBIReport function is defined and cmdlet used in couple of places.

SuryaPractise

comment created time in 33 minutes

issue commentAzure/azure-powershell

Request: AAD group owner support

You're awesome! Thanks for the response. Best of luck in your migration coding.

perbergland

comment created time in 42 minutes

issue commentAzure/azure-powershell

Azure Devops Release Pipeline tasks fails with migrated PowerBi related scripts

Hi @SuryaPractise , Enable-AzureRmAlias worked well at the first version of Az 1.0 and 2.0. But this cmdlet is just simply mapping AzureRm cmdlet to Az. After 3 years, the gap between Az and AzureRM become larger and larger. The breaking change has been introduced in each Az major release and Azure service changed their behavior which is not controlled by Azure PowerShell client tool. For the time being, Enable-AzureRmAlias still can work but the issue should be resolved case by case.

For your problem, I can see error is from A positional parameter cannot be found that accepts argument 'Error in function Get-PowerBIReport. Actually there is no Get-PowerBIReport in your code.

SuryaPractise

comment created time in 44 minutes

issue commentAzure/azure-powershell

Azure Devops Release Pipeline tasks fails with migrated PowerBi related scripts

I tried to run script in Azure Hosted machine,below is the error. 2021-06-18T14:03:58.5474266Z Acquired Access Token 2021-06-18T14:03:58.8678588Z Found the Workspace 2021-06-18T14:04:01.1569723Z The term 'Connect-PowerBIServiceAccount' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. 2021-06-18T14:04:01.2027829Z VERBOSE: Importing function 'CmdletHasMember'. 2021-06-18T14:04:01.2118363Z VERBOSE: Importing function 'Disconnect-AzureAndClearContext'. 2021-06-18T14:04:01.2144969Z VERBOSE: Importing function 'Initialize-AzModule'. 2021-06-18T14:04:01.2181374Z VERBOSE: Importing function 'Initialize-Azure'. 2021-06-18T14:04:01.2215938Z VERBOSE: Importing function 'Initialize-AzureRMModule'. 2021-06-18T14:04:01.2282679Z VERBOSE: Importing function 'Remove-EndpointSecrets'. 2021-06-18T14:04:01.2315366Z VERBOSE: Importing function 'Update-PSModulePathForHostedAgentWithLatestModule'. 2021-06-18T14:04:01.2519231Z VERBOSE: Trying to disconnect from Azure and clear context at process scope 2021-06-18T14:04:01.2667415Z VERBOSE: Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted 2021-06-18T14:04:01.2673759Z versions. 2021-06-18T14:04:01.2725823Z VERBOSE: Populating RepositorySourceLocation property for module Az.Accounts. 2021-06-18T14:04:01.2772477Z VERBOSE: Loading module from path 'C:\Modules\az_5.9.0\Az.Accounts\2.4.0\Az.Accounts.psm1'. 2021-06-18T14:04:01.3188513Z ##[command]Disconnect-AzAccount -Scope Process -ErrorAction Stop 2021-06-18T14:04:01.6340860Z ##[command]Clear-AzContext -Scope Process -ErrorAction Stop 2021-06-18T14:04:02.0077190Z ##[debug]Caught exception from task script. 2021-06-18T14:04:02.0169237Z ##[debug]Error record: 2021-06-18T14:04:02.0861605Z ##[debug]ForEach-Object : A positional parameter cannot be found that accepts argument 'Error in function Get-PowerBIReport'. 2021-06-18T14:04:02.0881572Z ##[debug]At D:\a_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\4.185.0\azurepowershell.ps1:229 char:13 2021-06-18T14:04:02.0906571Z ##[debug]+ ForEach-Object { 2021-06-18T14:04:02.0933278Z ##[debug]+ ~~~~~~~~~~~~~~~~ 2021-06-18T14:04:02.0956800Z ##[debug] + CategoryInfo : InvalidArgument: (:) [ForEach-Object], ParameterBindingException 2021-06-18T14:04:02.0981601Z ##[debug] + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.ForEachObjectCommand 2021-06-18T14:04:02.1004890Z ##[debug] 2021-06-18T14:04:02.1078302Z ##[debug]Script stack trace: 2021-06-18T14:04:02.1153764Z ##[debug]at main, D:\a\r1\a\InfrastructureDeployment\Deployment\Tools\PowerBiReportAutomation\PowerBiReportAutomation.ps1: line 538 2021-06-18T14:04:02.1178144Z ##[debug]at <ScriptBlock>, D:\a\r1\a\InfrastructureDeployment\Deployment\Tools\PowerBiReportAutomation\PowerBiReportAutomation.ps1: line 543 2021-06-18T14:04:02.1228105Z ##[debug]at <ScriptBlock>, <No file>: line 1 2021-06-18T14:04:02.1251291Z ##[debug]at <ScriptBlock>, D:\a_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\4.185.0\azurepowershell.ps1: line 232 2021-06-18T14:04:02.1276250Z ##[debug]at <ScriptBlock>, D:\a_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\4.185.0\azurepowershell.ps1: line 228 2021-06-18T14:04:02.1301051Z ##[debug]at <ScriptBlock>, <No file>: line 1 2021-06-18T14:04:02.1344821Z ##[debug]at <ScriptBlock>, <No file>: line 22 2021-06-18T14:04:02.1393805Z ##[debug]at <ScriptBlock>, <No file>: line 18 2021-06-18T14:04:02.1442696Z ##[debug]at <ScriptBlock>, <No file>: line 1 2021-06-18T14:04:02.1500592Z ##[debug]Exception: 2021-06-18T14:04:02.1569574Z ##[debug]System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument 'Error in function Get-PowerBIReport'. 2021-06-18T14:04:02.1595220Z ##[debug] at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) 2021-06-18T14:04:02.1626625Z ##[debug] at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) 2021-06-18T14:04:02.1651699Z ##[debug] at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2021-06-18T14:04:02.1706715Z ##[debug] at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2021-06-18T14:04:02.1735759Z ##[debug] at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) 2021-06-18T14:04:02.1776563Z ##[debug] at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) 2021-06-18T14:04:02.1869597Z ##[debug] at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary2 functionsToDefine, List1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args) 2021-06-18T14:04:02.1894797Z ##[debug] at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0() 2021-06-18T14:04:02.1927091Z ##[debug] at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action) 2021-06-18T14:04:02.1956554Z ##[debug] at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args) 2021-06-18T14:04:02.1991584Z ##[debug] at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args) 2021-06-18T14:04:02.2016890Z ##[debug] at Microsoft.PowerShell.Commands.ForEachObjectCommand.ProcessRecord() 2021-06-18T14:04:02.2041862Z ##[debug] at System.Management.Automation.CommandProcessor.ProcessRecord() 2021-06-18T14:04:02.2330526Z ##[error]A positional parameter cannot be found that accepts argument 'Error in function Get-PowerBIReport'. 2021-06-18T14:04:02.2341422Z ##[debug]Processed: ##vso[task.logissue type=error]A positional parameter cannot be found that accepts argument 'Error in function Get-PowerBIReport'. 2021-06-18T14:04:02.2353929Z ##[debug]Processed: ##vso[task.complete result=Failed]

SuryaPractise

comment created time in an hour

PR opened Azure/azure-powershell

fix Update-AzVmss, Update-AzVm

<!-- DO NOT DELETE THIS TEMPLATE -->

Description

<!-- Please add a brief description of the changes made in this PR -->

Checklist

  • [ ] I have read the Submitting Changes section of CONTRIBUTING.md
  • [ ] The title of the PR is clear and informative
  • [ ] The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • [ ] The PR does not introduce breaking changes
  • [ ] If applicable, the changes made in the PR have proper test coverage
  • [ ] For public API changes to cmdlets:
    • [ ] a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • [ ] the markdown help files have been regenerated using the commands listed here
+32 -1

0 comment

4 changed files

pr created time in an hour

issue commentAzure/azure-powershell

New-AzOperationalInsightsWorkspace gives bad error when Sku is not present

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

Tyriar

comment created time in 2 hours

issue closedAzure/azure-powershell

[Az.Blockchain] Retirement message

Description

Following the announcement of the Azure Blockchain service retirement we plan to update Az.BlockChain module:

[ ] Update Az.BlockChain module release notes [ ] Update the modules PSD1 [ ] Update list of Az PowerShell modules - https://github.com/Azure/azure-powershell/blob/master/documentation/azure-powershell-modules.md

Cost

closed time in 2 hours

dcaro

issue commentAzure/azure-powershell

Start-AzStorageBlobCopy - Support Destination parameter pipeline input.

@blueww

Apologies, for some reason I thought that the source parameters already supported pipeline input, nonetheless, this is what I was thinking:

Param (
    [Parameter(Mandatory)]
    [string]
    $SourceStorageAccountName,

    [Parameter()]
    [string]
    $sourceContainerName = 'container1',

    [Parameter(Mandatory)]
    [string]
    $SourceAccountKey,

    [Parameter(Mandatory)]
    [string]
    $DestinationStorageAccountName,

    [Parameter(Mandatory)]
    [string]
    $DestinationAccountKey,

    [Parameter()]
    [int]
    $ConcurrentTaskCount = 30
)


$sourceStorageContext = New-AzStorageContext -StorageAccountName $SourceStorageAccountName -StorageAccountKey $SourceAccountKey
$destinationStorageContext = New-AzStorageContext -StorageAccountName $DestinationStorageAccountName -StorageAccountKey $DestinationAccountKey

#for cleanup of demo data in destination
#Get-AzStorageContainer -Context $destinationStorageContext | where Name -notmatch '\$' | Remove-AzStorageContainer -Force


#region let's create some demo data in the source storage account.

New-AzStorageContainer -Name $sourceContainerName -Context $sourceStorageContext
$destBlobNames = 101..130 | ForEach-Object { "$_\{0}\{1}" -f ([guid]::NewGuid()), (Get-Random -Maximum 10000000 -Minimum 1000000) }
$filename = "$PSScriptRoot\dummyfile.txt"
"This is a dummy file" | Out-File $filename
$destBlobNames | ForEach-Object { Set-AzStorageBlobContent -Context $sourceStorageContext -Container $sourceContainerName -Blob $_  -File $filename }
#endregion




#region copy data

$sourceStorageContainer = Get-AzStorageContainer -Context $sourceStorageContext -Name $sourceContainerName
$sourceBlobs = Get-AzStorageBlob -Context $sourceStorageContext -Container $sourceStorageContainer.Name

<#
    The point of this part is to change the name of the destination blobs to something else
    and create an object that has all the input details necessary to run the copy job as quickly as possible.
#>

$CopyInstructions = foreach ($sourceBlob in $sourceBlobs) {
    
    #get the destination blob and container names. First part of blob path is container.
    $destinationContainerName = $sourceBlob.Name.Split('/')[0]
    $destinationBlobName = $sourceBlob.Name.Substring($destinationContainerName.Length + 1)

    [PSCustomObject]@{
        SrcBlob             = $sourceBlob.Name 
        SrcContainer        = $sourceContainerName
        Context             = $sourceStorageContext 
        DestContainer       = $destinationContainerName
        DestBlob            = $destinationBlobName 
        DestContext         = $destinationStorageContext 
        ConcurrentTaskCount = $ConcurrentTaskCount
    }
}


$CopyInstructions.DestContainer | New-AzStorageContainer -context $destinationStorageContext -ConcurrentTaskCount $ConcurrentTaskCount
$CopyInstructions | Start-AzStorageBlobCopy -Force -ConcurrentTaskCount $ConcurrentTaskCount
#endregion
RIKIKU

comment created time in 4 hours

issue openedAzure/azure-powershell

Invoke-AzOperationalInsightsQuery does not work in AzureChina

<!--

  • Make sure you are able to reproduce this issue on the latest released version of Az
    • https://www.powershellgallery.com/packages/Az
  • Please search the existing issues to see if there has been a similar issue filed
  • For issue related to importing a module, please refer to our troubleshooting guide:
    • https://github.com/Azure/azure-powershell/blob/master/documentation/troubleshoot-module-load.md

-->

Description

Invoke-AzOperationalInsightsQuery does not work in AzureChina

Invoke-AzOperationalInsightsQuery : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure credentials.

Facts:

  • We have tried with different accounts, both service principals and regular users, we receive the same
  • The same script (with required changes in terms of tenant, workspace id, etc) works in Azure Public
  • Any other command from Az.OperationalInsights module works
  • We have the latest version of module already installed
  • The same behavior is present in Automation Account and also locally
  • We can successfully execute any other PowerShell command from other Az modules
  • Same issue is present in 2.2.0 and 2.3.0 versions of the Az.OperationalInsights

Steps to reproduce

Connect-AzAccount -EnvironmentName AzureChinaCloud -ApplicationId xxxxxxxxxxxxxxxx49d5eda420 -CertificateThumbprint xxxxxxxxxxxxxxx92075408DB2B5C29 -ServicePrincipal ` -Tenant xxxxxxxxxxxxxxxxxx8fc4 $query = "AlertFramework_CL | where Status_s == 'Raised' | extend ResourceName = toupper(Resource) | where AlertRuleName_s !contains 'End To End Trigger'| summarize count()" $queryResults = Invoke-AzOperationalInsightsQuery -WorkspaceId 6b09f4be-df36-4c22-9851-b00908682a32 -Query $query -Timespan (New-TimeSpan -days 1)

Environment data

<!-- Please run $PSVersionTable and paste the output in the below code block If running the Docker container image, indicate the tag of the image used and the version of Docker engine-->

- We have the latest version of module already installed
- The same behavior is present in Automation Account and also locally
- We can successfully execute any other PowerShell command from other Az modules
- Same issue is present in 2.2.0 and 2.3.0 versions of the Az.OperationalInsights

Module versions

<!-- Please run (Get-Module -ListAvailable) and paste the output in the below code block -->

Same issue is present in 2.2.0 and 2.3.0 versions of the Az.OperationalInsights

Debug output

<!-- Set $DebugPreference='Continue' before running the repro and paste the resulting debug stream in the below code block ATTENTION: Be sure to remove any sensitive information that may be in the logs -->

DEBUG: 12:22:23 PM - InvokeOperationalInsightsQuery begin processing with ParameterSet 'ByWorkspaceId'.
DEBUG: 12:22:25 PM - using account id 'xxxxxxxxxxxxxxx'...
DEBUG: [Common.Authentication]: Authenticating using Account: 'xxxxxxxxxxxx', environment: 'AzureChinaCloud', tenant: 'xxxxxxxxxxxxxxxxxxxxxxxx'
DEBUG: 12:22:25 PM - [ServicePrincipalAuthenticator] Calling ClientCertificateCredential.GetTokenAsync - Thumbprint:'911517AEE2D99BF7E78EEC8292075408DB2B5C29', ApplicationId:'c3ca1f2a-7c38-4348-b2bc-0749d5eda420', TenantId:'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx', Scopes:'OperationalInsightsEndpointResourceId/.default', AuthorityHost:'https://login.chinacloudapi.cn/'
DEBUG: ClientCertificateCredential.GetToken invoked. Scopes: [ OperationalInsightsEndpointResourceId/.default ] ParentRequestId: 
DEBUG: Request [442a4fc2-b3db-4c6b-856f-2b16eadd99c6] POST https://login.partner.microsoftonline.cn/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/token
x-client-SKU:REDACTED
x-client-Ver:REDACTED
x-client-CPU:REDACTED
x-client-OS:REDACTED
x-client-current-telemetry:REDACTED
x-client-last-telemetry:REDACTED
x-ms-PKeyAuth:REDACTED
x-ms-lib-capability:REDACTED
client-request-id:REDACTED
return-client-request-id:REDACTED
x-app-name:REDACTED
x-app-ver:REDACTED
Content-Type:application/x-www-form-urlencoded
x-ms-client-request-id:442a4fc2-b3db-4c6b-856f-2b16eadd99c6
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.4.0-beta.3 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )
client assembly: Azure.Identity
DEBUG: Error response [442a4fc2-b3db-4c6b-856f-2b16eadd99c6] 400 Bad Request (00.7s)
Pragma:no-cache
Strict-Transport-Security:REDACTED
X-Content-Type-Options:REDACTED
client-request-id:REDACTED
x-ms-request-id:REDACTED
x-ms-ests-server:REDACTED
x-ms-clitelem:REDACTED
Cache-Control:no-store, no-cache
Content-Type:application/json; charset=utf-8
Expires:-1
P3P:REDACTED
Set-Cookie:REDACTED
Date:Fri, 18 Jun 2021 09:24:39 GMT
Content-Length:561

DEBUG: ClientCertificateCredential.GetToken was unable to retrieve an access token. Scopes: [ OperationalInsightsEndpointResourceId/.default ] ParentRequestId:  Exception: Azure.Identity.AuthenticationFailedException (0x80131500)
: ClientCertificateCredential authentication failed: AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope OperationalInsightsEndpoint
ResourceId/.default is not valid.
Trace ID: f9f4fe27-ac5d-4ab3-8532-d2072db41f00
Correlation ID: 524c40ad-49ab-48c3-a564-d99dd77c932a
Timestamp: 2021-06-18 09:24:39Z
 ---> Microsoft.Identity.Client.MsalServiceException (0x80131500): AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope OperationalIn
sightsEndpointResourceId/.default is not valid.
Trace ID: f9f4fe27-ac5d-4ab3-8532-d2072db41f00
Correlation ID: 524c40ad-49ab-48c3-a564-d99dd77c932a
Timestamp: 2021-06-18 09:24:39Z
DEBUG: [Common.Authentication]: Received exception ClientCertificateCredential authentication failed: AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is
 not valid. The scope OperationalInsightsEndpointResourceId/.default is not valid.
Trace ID: f9f4fe27-ac5d-4ab3-8532-d2072db41f00
Correlation ID: 524c40ad-49ab-48c3-a564-d99dd77c932a
Timestamp: 2021-06-18 09:24:39Z, while authenticating.
Account                              SubscriptionName                   TenantId                             Environment    
-------                              ----------------                   --------                             -----------    
c3ca1f2a-7c38-4348-b2bc-0749d5eda420 Windows Azure Internal Consumption xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx AzureChinaCloud
Invoke-AzOperationalInsightsQuery : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure credentials.
At line:9 char:17
+ ... ryResults = Invoke-AzOperationalInsightsQuery -WorkspaceId 6b09f4be-d ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Invoke-AzOperationalInsightsQuery], ArgumentException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.OperationalInsights.Query.InvokeOperationalInsightsQuery
 
DEBUG: AzureQoSEvent: CommandName - Invoke-AzOperationalInsightsQuery; IsSuccess - False; Duration - 00:00:03.7507658; Exception - Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set u
p your Azure credentials.;
DEBUG: Finish sending metric.
DEBUG: 12:22:28 PM - InvokeOperationalInsightsQuery end processing.

Error output

<!-- Please run Resolve-AzError and paste the output in the below code block ATTENTION: Be sure to remove any sensitive information that may be in the logs -->

Invoke-AzOperationalInsightsQuery : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure credentials.

created time in 5 hours

issue openedAzure/azure-powershell

`Get-AzDisk -Name $null` returns all disks in the subscription

<!--

  • Make sure you are able to reproduce this issue on the latest released version of Az
    • https://www.powershellgallery.com/packages/Az
  • Please search the existing issues to see if there has been a similar issue filed
  • For issue related to importing a module, please refer to our troubleshooting guide:
    • https://github.com/Azure/azure-powershell/blob/master/documentation/troubleshoot-module-load.md

-->

Description

When running the command Get-AzDisk -Name $null, all disks in the connected subscription are returned. This creates a possibility of unexpected results, for example:

# i want to delete the os disk for a given vm stored in $vm
$disk = Get-AzDisk -Name $vm.StorageProfile.OsDisk.Name
$disk | Remove-AzDisk

If $vm.StorageProfile.OsDisk.Name is $null then Remove-AzDisk will proceed to attempt to remove all disks in the subscription. Clearly this can be prevented by adding appropriate checks but as a user I would expect the first command to fail.

Perhaps a PSBoundParameters check could be added to Get-AzDisk to differentiate between valid requests for all disks in the subscription (executed without the -Name parameter) and requests for a specific disk (but where the value supplied for the -Name parameter is unexpectedly $null).

Steps to reproduce

Get-AzDisk -Name $null

Environment data

<!-- Please run $PSVersionTable and paste the output in the below code block If running the Docker container image, indicate the tag of the image used and the version of Docker engine-->

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

<!-- Please run (Get-Module -ListAvailable) and paste the output in the below code block -->


    Directory: C:\Users\Tom.Meadon\OneDrive - New Signature\Documents\PowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     5.5.0                 Az                                  Core,Desk 
Script     4.7.0                 Az                                  Core,Desk 
Script     3.8.0                 Az                                  Core,Desk 
Script     3.6.1                 Az                                  Core,Desk 
Script     2.4.0                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     2.2.7                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     2.2.5                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.9.4                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.9.3                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.8.0                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.7.5                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.7.4                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.7.3                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.7.1                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.1.1                 Az.Advisor                          Core,Desk {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration…}
Script     2.0.2                 Az.Aks                              Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…}
Script     1.3.0                 Az.Aks                              Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…}
Script     1.0.3                 Az.Aks                              Core,Desk {Get-AzAks, New-AzAks, Remove-AzAks, Import-AzAksCredential…}
Script     1.1.4                 Az.AnalysisServices                 Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer…}
Script     1.1.2                 Az.AnalysisServices                 Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer…}
Script     2.2.0                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion…}
Script     2.1.0                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion…}
Script     1.4.1                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup…}
Script     1.4.0                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup…}
Script     1.3.4                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup…}
Script     1.0.0                 Az.AppConfiguration                 Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzAppConfigurationStore, New-AzAppConfigurationStoreKey…}
Script     1.1.0                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-AzApplicationInsights…}
Script     1.0.3                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Set-AzApplicationInsightsPricingPlan…}
Script     1.4.3                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration…}
Script     1.4.0                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration…}
Script     1.3.6                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration…}
Script     3.1.0                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script     2.0.2                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script     2.0.0                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script     1.0.3                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script     1.0.2                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script     0.2.13                Az.Blueprint                        Core,Desk {Get-AzBlueprint, Get-AzBlueprintAssignment, New-AzBlueprintAssignment, Remove-AzBlueprintAssignment…}
Script     0.2.10                Az.Blueprint                        Core,Desk {Get-AzBlueprint, Get-AzBlueprintAssignment, New-AzBlueprintAssignment, Remove-AzBlueprintAssignment…}
Script     1.6.0                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script     1.4.3                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script     1.4.2                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script     1.8.0                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType…}
Script     1.6.0                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType…}
Script     1.3.0                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType…}
Script     1.2.3                 Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType…}
Script     4.14.0                Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     4.9.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     4.4.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     3.7.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     3.5.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     1.0.3                 Az.ContainerInstance                Core,Desk {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script     2.2.0                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…}
Script     1.1.1                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…}
Script     1.0.0                 Az.CosmosDB                         Core,Desk {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput…}
Script     0.1.6                 Az.CosmosDB                         Core,Desk {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput…}
Script     1.1.0                 Az.DataBoxEdge                      Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeDevice…}
Script     1.1.0                 Az.Databricks                       Core,Desk {Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace, New-AzDatabricksVNetPeering, New-AzDatabricksWorkspace…}
Script     1.11.3                Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.10.1                Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.7.0                 Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.6.1                 Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.0.2                 Az.DataLakeAnalytics                Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCre…
Script     1.3.0                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider…}
Script     1.2.8                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider…}
Script     1.2.7                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider…}
Script     1.0.0                 Az.DataShare                        Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare…}
Script     1.1.0                 Az.DeploymentManager                Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSour…
Script     2.1.1                 Az.DesktopVirtualization            Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicationGroup…}
Script     1.0.0                 Az.DesktopVirtualization            Core,Desk {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDesktop…}
Script     1.0.2                 Az.DevTestLabs                      Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy…}
Script     1.1.2                 Az.Dns                              Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…}
Script     1.3.0                 Az.EventGrid                        Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…}
Script     1.2.3                 Az.EventGrid                        Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…}
Script     1.7.1                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script     1.6.0                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script     1.4.3                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script     1.7.0                 Az.FrontDoor                        Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…}
Script     1.6.1                 Az.FrontDoor                        Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…}
Script     1.4.0                 Az.FrontDoor                        Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…}
Script     2.0.0                 Az.Functions                        Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting…}
Script     1.0.2                 Az.Functions                        Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting…}
Script     1.0.1                 Az.Functions                        Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting…}
Script     4.2.0                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…}
Script     3.6.0                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…}
Script     3.1.0                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…}
Script     3.0.3                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…}
Script     1.2.0                 Az.HealthcareApis                   Core,Desk {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService}
Script     1.1.0                 Az.HealthcareApis                   Core,Desk {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService}
Script     1.0.1                 Az.HealthcareApis                   Core,Desk {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService}
Script     2.7.2                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…}
Script     2.5.0                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…}
Script     2.4.0                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…}
Script     2.2.0                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…}
Script     3.4.0                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     2.2.0                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     1.6.0                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     1.5.1                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     1.0.1                 Az.Kusto                            Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabaseConfiguration, Get-AzKustoCluster…}
Script     1.0.0                 Az.Kusto                            Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabaseConfiguration, Get-AzKustoCluster…}
Script     1.5.0                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl…}
Script     1.3.2                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl…}
Script     1.1.3                 Az.MachineLearning                  Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan…}
Script     1.1.0                 Az.Maintenance                      Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate…}
Script     1.0.0                 Az.Maintenance                      Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate…}
Script     0.7.3                 Az.ManagedServiceIdentity           Core,Desk {New-AzUserAssignedIdentity, Get-AzUserAssignedIdentity, Remove-AzUserAssignedIdentity}
Script     2.0.0                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesDefinition…}
Script     1.1.0                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesDefinition…}
Script     1.0.2                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesDefinition…}
Script     1.0.2                 Az.MarketplaceOrdering              Core,Desk {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script     1.1.1                 Az.Media                            Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability…}
Script     2.4.0                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     2.1.0                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     1.7.0                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     1.6.1                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     0.1.3                 Az.NetAppFiles                      Core,Desk {Get-AzNetAppFilesAccount, New-AzNetAppFilesAccount, Remove-AzNetAppFilesAccount, Set-AzNetAppFilesAccount…}
Script     4.6.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Re…
Script     3.4.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Re…
Script     2.5.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Re…
Script     2.3.2                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Re…
Script     1.1.1                 Az.NotificationHubs                 Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential…}
Script     2.3.0                 Az.OperationalInsights              Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, D…
Script     1.3.4                 Az.OperationalInsights              Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, D…
Script     1.4.1                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.3.1                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.3.0                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.2.0                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.1.2                 Az.PowerBIEmbedded                  Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace…}
Script     1.1.1                 Az.PowerBIEmbedded                  Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace…}
Script     1.0.3                 Az.PrivateDns                       Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…}
Script     1.0.2                 Az.PrivateDns                       Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…}
Script     3.4.0                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…}
Script     2.12.1                Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…}
Script     2.8.0                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…}
Script     2.7.0                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…}
Script     1.4.0                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…}
Script     1.2.1                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…}
Script     1.0.3                 Az.Relay                            Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…}
Script     3.4.0                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     3.2.1                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     2.5.1                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     1.13.0                Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     1.12.1     preview    Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     1.12.0                Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     0.7.6                 Az.Security                         Core,Desk {Get-AzSecurityAlert, Set-AzSecurityAlert, Get-AzSecurityAutoProvisioningSetting, Set-AzSecurityAutoProvisioningSetting…}
Script     1.4.1                 Az.ServiceBus                       Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…}
Script     2.2.2                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType…}
Script     2.2.0                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType…}
Script     2.0.2                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType…}
Script     2.0.1                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType…}
Script     1.2.0                 Az.SignalR                          Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script     1.1.1                 Az.SignalR                          Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script     2.16.0                Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDataba…
Script     2.10.0                Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDataba…
Script     2.6.0                 Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDataba…
Script     2.4.0                 Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDataba…
Script     1.1.0                 Az.SqlVirtualMachine                Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM…}
Script     3.3.0                 Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     2.6.0                 Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.14.0                Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.13.0                Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.12.0                Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.4.0                 Az.StorageSync                      Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Set-AzStorageSyncService…}
Script     1.3.0                 Az.StorageSync                      Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Set-AzStorageSyncService…}
Script     1.2.3                 Az.StorageSync                      Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Remove-AzStorageSyncService…}
Script     1.0.1                 Az.StreamAnalytics                  Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStreamAnalyticsFunction…}
Script     1.0.0                 Az.Support                          Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportTicketCommunication…}
Script     1.0.4                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficMan…
Script     1.0.3                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficMan…
Script     2.3.0                 Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     1.11.0                Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     1.8.0                 Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     1.7.0                 Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Manifest   2.0.3                 AzTable                             Desk      {Add-AzTableRow, Get-AzTableRow, Get-AzTableRowAll, Get-AzTableRowByPartitionKeyRowKey…}
Manifest   0.1.43                AzureDevOps                         Desk      {Add-AzureDevOpsAccount, Add-AzureDevOpsVariable, Add-AzureDevOpsVariableGroup, Copy-AzureDevOpsVariableGroup…}
Script     0.7.0                 BurntToast                          Desk      {Get-BTHistory, New-BTAction, New-BTAppId, New-BTAudio…}
Script     4.4.1                 CosmosDB                            Core,Desk {Get-CosmosDbAccount, Get-CosmosDbAccountConnectionString, Get-CosmosDbAccountMasterKey, New-CosmosDbAccount…}
Script     5.6.2                 InvokeBuild                         Desk      {Invoke-Build, Build-Checkpoint, Build-Parallel}
Script     3.144.0               oh-my-posh                          Desk      {Get-PoshThemes, Set-PoshPrompt, Get-PoshInfoForV2Users}
Script     5.0.4                 Pester                              Desk      {Invoke-Pester, Describe, Context, It…}
Script     4.10.1                Pester                              Desk      {Describe, Context, It, Should…}
Manifest   0.9.6                 PSAppInsightsFix                    Desk      {New-AIClient, Push-AIClient, Stop-AIClient, Send-AIEvent…}
Binary     0.1.0      alpha1     PSArm                               Core,Desk {ConvertTo-PSArm, ConvertFrom-ArmTemplate, Publish-PSArmTemplate, New-PSArmTemplate…}
Script     0.0.1                 PSCoreAppInsights                   Desk      {New-AppInsightsClient, Send-AppInsightsDependency, Send-AppInsightsEvent, Send-AppInsightsException…}
Manifest   0.3.0                 PSDurableFunctions                  Core      {Expand-DFOrchestration, Get-DFOrchestration, Get-DFTaskHubs}
Manifest   0.2.2                 PSDurableFunctions                  Core      {Expand-DFOrchestration, Get-DFOrchestration, Get-DFTaskHubs}
Manifest   0.2.0                 PSDurableFunctions                  Core      {Expand-DFOrchestration, Get-DFOrchestration, Get-DFTaskHubs}
Script     1.0.3.0               PSProfiler                          Desk      {Measure-Script, WhyScriptNoGoBrrrr}
Script     2.2.0      beta1      PSReadLine                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}
Script     1.2.0                 PSRule                              Core,Desk {Rule, Invoke-PSRule, Test-PSRuleTarget, Get-PSRuleTarget…}
Script     1.2.1                 PSRule.Rules.Azure                  Core,Desk {Export-AzRuleData, Export-AzRuleTemplateData, Get-AzRuleTemplateLink, Export-AzTemplateRuleData}
Script     1.18.3                PSScriptAnalyzer                    Desk      {Get-ScriptAnalyzerRule, Invoke-ScriptAnalyzer, Invoke-Formatter}
Script     1.2.0                 PSServiceBus                        Desk      {Clear-SbQueue, Get-SbQueue, Get-SbTopic, Get-SbSubscription…}
Binary     0.8.1                 SHiPS                               Desk      
Script     1.0.14                Subnet                              Desk      {Get-NetworkClass, Get-Subnet, Test-PrivateIP}
Script     0.0.2                 Trackyon.Utils                      Desk      {Backup-Location, Get-OperatingSystem, New-Directory, Set-As…}
Script     7.2.0                 VSTeam                              Core,Desk {Add-VSTeam, Add-VSTeamAccessControlEntry, Add-VSTeamArea, Add-VSTeamAzureRMServiceEndpoint…}

    Directory: C:\program files\powershell\7\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Manifest   7.0.0.0               CimCmdlets                          Core      {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession…}
Manifest   1.2.5                 Microsoft.PowerShell.Archive        Desk      {Compress-Archive, Expand-Archive}
Manifest   7.0.0.0               Microsoft.PowerShell.Diagnostics    Core      {Get-WinEvent, New-WinEvent, Get-Counter}
Manifest   7.0.0.0               Microsoft.PowerShell.Host           Core      {Start-Transcript, Stop-Transcript}
Manifest   7.0.0.0               Microsoft.PowerShell.Management     Core      {Add-Content, Clear-Content, Get-Clipboard, Set-Clipboard…}
Manifest   7.0.0.0               Microsoft.PowerShell.Security       Core      {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential…}
Manifest   7.0.0.0               Microsoft.PowerShell.Utility        Core      {Export-Alias, Get-Alias, Import-Alias, New-Alias…}
Manifest   7.0.0.0               Microsoft.WSMan.Management          Core      {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig…}
Script     1.4.7                 PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script     2.2.5                 PowerShellGet                       Desk      {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…}
Script     2.0.5                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource}
Script     7.0.0.0               PSDiagnostics                       Core      {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace…}
Script     2.1.0                 PSReadLine                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}
Binary     2.0.3                 ThreadJob                           Desk      Start-ThreadJob

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     1.9.2                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.7.1                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     1.1.2                 Az.AnalysisServices                 Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer…}
Script     1.3.4                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup…}
Script     1.0.3                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Set-AzApplicationInsightsPricingPlan…}
Script     1.3.5                 Az.Automation                       Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration…}
Script     2.0.2                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script     1.4.2                 Az.Cdn                              Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script     3.4.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     1.0.3                 Az.ContainerInstance                Core,Desk {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script     1.1.1                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…}
Script     1.6.1                 Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.0.2                 Az.DataLakeAnalytics                Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCre…
Script     1.2.6                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider…}
Script     1.4.3                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script     3.0.3                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…}
Script     1.5.0                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     1.3.2                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl…}
Script     1.5.0                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     0.1.3                 Az.NetAppFiles                      Core,Desk {Get-AzNetAppFilesAccount, New-AzNetAppFilesAccount, Remove-AzNetAppFilesAccount, Set-AzNetAppFilesAccount…}
Script     2.3.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Re…
Script     1.1.1                 Az.NotificationHubs                 Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential…}
Script     1.3.4                 Az.OperationalInsights              Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, D…
Script     1.2.0                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.2.1                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…}
Script     1.10.0                Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     1.4.1                 Az.ServiceBus                       Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…}
Script     2.0.1                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType…}
Script     2.2.0                 Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDataba…
Script     1.12.0                Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.0.1                 Az.StreamAnalytics                  Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStreamAnalyticsFunction…}
Script     1.0.3                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficMan…
Script     1.6.0                 Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     4.7.0                 AzSK                                Desk      {Get-AzSKAccessToken, Get-AzSKSupportedResourceTypes, Set-AzSKPolicySettings, Get-AzSKAzureServicesSecurityStatus…}
Script     1.0.1                 Microsoft.PowerShell.Operation.Val… Desk      {Get-OperationValidation, Invoke-OperationValidation}
Manifest   1.1.183.57            MSOnline                            Desk      
Binary     1.0.0.1               PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script     3.4.0                 Pester                              Desk      {Describe, Context, It, Should…}
Script     1.0.0.1               PowerShellGet                       Desk      {Install-Module, Find-Module, Save-Module, Update-Module…}
Script     2.0.0      beta2      PSReadline                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}

    Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Manifest   1.0.0.0               AppBackgroundTask                   Core,Desk {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBackgroundTaskResourcePolicy, Unregister-AppBackgroundTask…}
Manifest   2.0.1.0               Appx                                Core,Desk {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage…}
Script     1.0.0.0               AssignedAccess                      Core,Desk {Clear-AssignedAccess, Get-AssignedAccess, Set-AssignedAccess}
Manifest   1.0.0.0               BitLocker                           Core,Desk {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Remove-BitLockerKeyProtector…}
Manifest   2.0.0.0               BitsTransfer                        Core,Desk {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Remove-BitsTransfer…}
Manifest   1.0.0.0               BranchCache                         Core,Desk {Add-BCDataCacheExtension, Clear-BCCache, Disable-BC, Disable-BCDowngrading…}
Manifest   1.0                   Defender                            Core,Desk {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference…}
Manifest   1.0.2.0               DeliveryOptimization                Core,Desk {Delete-DeliveryOptimizationCache, Set-DeliveryOptimizationStatus, Get-DeliveryOptimizationLog, Get-DeliveryOptimizationLogAnalysis…}
Manifest   1.0.0.0               DirectAccessClientComponents        Core,Desk {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExperienceConfiguration, Get-DAEntryPointTableItem…}
Script     3.0                   Dism                                Core,Desk {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-WindowsCapability, Add-WindowsImage…}
Manifest   1.0.0.0               DnsClient                           Core,Desk {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get-DnsClientCache…}
Manifest   1.0.0.0               EventTracingManagement              Core,Desk {Start-EtwTraceSession, New-EtwTraceSession, Get-EtwTraceSession, Update-EtwTraceSession…}
Manifest   1.0.0.0               HgsClient                           Core,Desk {Get-HgsAttestationBaselinePolicy, Get-HgsClientConfiguration, Test-HgsClientConfiguration, Set-HgsClientConfiguration…}
Manifest   1.0.0.0               HgsDiagnostics                      Core,Desk {New-HgsTraceTarget, Get-HgsTrace, Get-HgsTraceFileData, Test-HgsTraceTarget}
Binary     2.0.0.0               Hyper-V                             Core,Desk {Add-VMAssignableDevice, Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMGpuPartitionAdapter…}
Binary     1.1                   Hyper-V                             Core,Desk {Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMHardDiskDrive, Add-VMMigrationNetwork…}
Manifest   2.0.0.0               International                       Core,Desk {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMethodOverride, Get-WinHomeLocation, Set-WinHomeLocation…}
Manifest   1.0.0.0               Kds                                 Core,Desk {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsConfiguration…}
Manifest   3.0.0.0               Microsoft.PowerShell.Diagnostics    Core,Desk {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter…}
Manifest   1.0.0.0               Microsoft.PowerShell.LocalAccounts  Core,Desk {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser, Get-LocalGroup…}
Manifest   3.1.0.0               Microsoft.PowerShell.Management     Core,Desk {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path…}
Manifest   1.0                   MMAgent                             Core,Desk {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent…}
Manifest   2.0.0.0               NetAdapter                          Core,Desk {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable-NetAdapterEncapsulatedPacketTaskOffload…}
Manifest   1.0.0.0               NetConnection                       Core,Desk {Get-NetConnectionProfile, Set-NetConnectionProfile}
Manifest   1.0.0.0               NetEventPacketCapture               Core,Desk {New-NetEventSession, Remove-NetEventSession, Get-NetEventSession, Set-NetEventSession…}
Manifest   2.0.0.0               NetLbfo                             Core,Desk {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTeam, Get-NetLbfoTeamMember…}
Manifest   1.0.0.0               NetNat                              Core,Desk {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMapping, Get-NetNatSession…}
Manifest   2.0.0.0               NetQos                              Core,Desk {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, New-NetQosPolicy}
Manifest   2.0.0.0               NetSecurity                         Core,Desk {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPsecMainModeCryptoProposal, New-NetIPsecQuickModeCryptoProposal…}
Manifest   1.0.0.0               NetSwitchTeam                       Core,Desk {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTeam, Rename-NetSwitchTeam…}
Manifest   1.0.0.0               NetTCPIP                            Core,Desk {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol, Get-NetIPv6Protocol…}
Manifest   1.0.0.0               NetworkConnectivityStatus           Core,Desk {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Reset-NCSIPolicyConfiguration, Set-NCSIPolicyConfiguration}
Manifest   1.0.0.0               NetworkSwitchManager                Core,Desk {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEthernetPort, Get-NetworkSwitchEthernetPort, Remove-NetworkSwitchEthernetPortIPAddress…}
Manifest   1.0.0.0               NetworkTransition                   Core,Desk {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfile, Disable-NetNatTransitionConfiguration…}
Manifest   1.0.0.0               PcsvDevice                          Core,Desk {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restart-PcsvDevice…}
Manifest   1.0.0.0               PKI                                 Core,Desk {Add-CertificateEnrollmentPolicyServer, Export-Certificate, Export-PfxCertificate, Get-CertificateAutoEnrollmentPolicy…}
Manifest   1.0.0.0               PnpDevice                           Core,Desk {Get-PnpDevice, Get-PnpDeviceProperty, Enable-PnpDevice, Disable-PnpDevice}
Manifest   1.1                   PrintManagement                     Core,Desk {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-PrintConfiguration…}
Binary     1.0.12                ProcessMitigations                  Core,Desk {Get-ProcessMitigation, Set-ProcessMitigation, ConvertTo-ProcessMitigationPolicy}
Script     3.0                   Provisioning                        Core,Desk {Install-ProvisioningPackage, Export-ProvisioningPackage, Install-TrustedProvisioningCertificate, Export-Trace…}
Manifest   1.0.0.0               ScheduledTasks                      Core,Desk {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledTask, Unregister-ScheduledTask…}
Manifest   2.0.0.0               SecureBoot                          Core,Desk {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBootUEFI, Format-SecureBootUEFI…}
Manifest   2.0.0.0               SmbShare                            Core,Desk {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbShareAccess…}
Manifest   2.0.0.0               SmbWitness                          Core,Desk {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw…}
Manifest   1.0.0.1               StartLayout                         Core,Desk {Export-StartLayout, Import-StartLayout, Export-StartLayoutEdgeAssets, Get-StartApps}
Manifest   2.0.0.0               Storage                             Core,Desk {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add-PhysicalDisk, Add-StorageFaultDomain…}
Manifest   2.0.0.0               TLS                                 Core,Desk {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disable-TlsSessionTicketKey, Export-TlsSessionTicketKey…}
Manifest   1.0.0.0               TroubleshootingPack                 Core,Desk {Get-TroubleshootingPack, Invoke-TroubleshootingPack}
Manifest   2.0.0.0               TrustedPlatformModule               Core,Desk {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm…}
Binary     2.1.639.0             UEV                                 Core,Desk 
Manifest   2.0.0.0               VpnClient                           Core,Desk {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnection, Get-VpnConnection…}
Manifest   1.0.0.0               Wdac                                Core,Desk {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn…}
Manifest   2.0.0.0               Whea                                Core,Desk {Get-WheaMemoryPolicy, Set-WheaMemoryPolicy}
Manifest   1.0.0.0               WindowsDeveloperLicense             Core,Desk {Get-WindowsDeveloperLicense, Unregister-WindowsDeveloperLicense, Show-WindowsDeveloperLicenseRegistration}
Script     1.0                   WindowsErrorReporting               Core,Desk {Enable-WindowsErrorReporting, Disable-WindowsErrorReporting, Get-WindowsErrorReporting}
Manifest   1.0.0.0               WindowsSearch                       Core,Desk {Get-WindowsSearchSetting, Set-WindowsSearchSetting}
Manifest   1.0.0.0               WindowsUpdate                       Core,Desk Get-WindowsUpdateLog
Manifest   1.0.0.2               WindowsUpdateProvider               Core,Desk {Get-WUAVersion, Get-WULastInstallationDate, Get-WULastScanSuccessDate, Get-WUIsPendingReboot…}

Debug output

<!-- Set $DebugPreference='Continue' before running the repro and paste the resulting debug stream in the below code block ATTENTION: Be sure to remove any sensitive information that may be in the logs -->

11:30:07 - GetAzureRmDisk begin processing with ParameterSet 'DefaultParameter'.
11:30:07 - using account id 'REDACTED'...
[Common.Authentication]: Authenticating using Account: 'REDACTED', environment: 'AzureCloud', tenant: 'REDACTED'
11:30:07 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'REDACTED', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'REDACTED'
SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: 
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] Azure region was not configured or could not be discovered. Not using a regional authority.
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07] Found 3 cache accounts and 0 broker accounts
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07] Returning 3 accounts
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] MSAL MSAL.NetCore with assembly version '4.30.1.0'. CorrelationId(13a895e9-eb27-4369-b53c-1facd2182eb8)
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] === AcquireTokenSilent Parameters ===
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] LoginHint provided: False
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] Account provided: True
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] ForceRefresh: False
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] 
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net//.default
Extra Query Params Keys (space separated) - 
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 13a895e9-eb27-4369-b53c-1facd2182eb8

(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] === Token Acquisition (SilentRequest) started:
	
	Authority Host: login.microsoftonline.com
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] Azure region was not configured or could not be discovered. Not using a regional authority.
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] Access token is not expired. Returning the found cache entry. [Current time (06/18/2021 10:30:07) - Expiration Time (06/18/2021 11:29:26 +00:00) - Extended Expiration Time (06/18/2021 11:29:26 +00:00)]
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] Returning access token found in cache. RefreshOn exists ? False
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] Fetched access token from host login.microsoftonline.com. 
(False) MSAL 4.30.1.0 MSAL.NetCore Microsoft Windows 10.0.19042 [06/18/2021 10:30:07 - ] === Token Acquisition finished successfully. An access token was returned with Expiration Time: 06/18/2021 11:29:26 +00:00 and Scopes https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default
SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:  ExpiresOn: 2021-06-18T11:29:26.0000000+00:00
[Common.Authentication]: Received token with LoginType 'User', Tenant: 'REDACTED', UserId: 'REDACTED'
============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/REDACTED/providers/Microsoft.Compute/disks?api-version=2020-12-01

Headers:
x-ms-client-request-id        : REDACTED
Accept-Language               : en-US

Body:



============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-original-request-ids     : REDACTED
x-ms-ratelimit-remaining-subscription-reads: 11986
x-ms-request-id               : REDACTED
x-ms-correlation-request-id   : REDACTED
x-ms-routing-request-id       : UKSOUTH:20210618T103008Z:REDACTED
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Fri, 18 Jun 2021 10:30:07 GMT

Body: REDACTED

AzureQoSEvent: CommandName - Get-AzDisk; IsSuccess - True; Duration - 00:00:07.7287224
Finish sending metric.
11:30:15 - GetAzureRmDisk end processing.

Error output

<!-- Please run Resolve-AzError and paste the output in the below code block ATTENTION: Be sure to remove any sensitive information that may be in the logs -->

n/a

created time in 5 hours

PullRequestEvent

PR closed Azure/azure-powershell

Update Get-AzRegulatoryComplainceAssessment.md Security Service Attention customer-reported needs-revision

Edited doc, but I suspect code changes may also need to occur.

<!-- DO NOT DELETE THIS TEMPLATE -->

Description

<!-- Please add a brief description of the changes made in this PR -->

Checklist

  • [ ] I have read the Submitting Changes section of CONTRIBUTING.md
  • [ ] The title of the PR is clear and informative
  • [ ] The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • [ ] The PR does not introduce breaking changes
  • [ ] If applicable, the changes made in the PR have proper test coverage
  • [ ] For public API changes to cmdlets:
    • [ ] a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • [ ] the markdown help files have been regenerated using the commands listed here
+5 -5

6 comments

1 changed file

sckissel

pr closed time in 6 hours

pull request commentAzure/azure-powershell

Update Get-AzRegulatoryComplainceAssessment.md

Hi @sckissel , thanks for your contributions! Will close this issue since the spelling error has been fixed, please refer to: https://docs.microsoft.com/en-us/powershell/module/az.security/get-azregulatorycomplainceassessment?view=azps-6.1.0

sckissel

comment created time in 6 hours

issue commentAzure/azure-powershell

Start-AzStorageBlobCopy - Support Destination parameter pipeline input.

@RIKIKU

Thanks for raising this change request!

It's good to know that you have make it work on your side.

Would you please give more detail for how you would like this cmdlet to support pipeline on destination, like a demo script that you would like to pipeline both source and dest parameters for this cmdlet, and I can see weather and how we can make this script work.

RIKIKU

comment created time in 7 hours

pull request commentAzure/azure-powershell

[Communication] Update to swagger version 2020-08-20

Gently ping~

memontic-ms

comment created time in 7 hours

push eventAzure/azure-powershell

Yunchi Wang

commit sha 9c6bcf30b0b266feea7cf6b05b8730e6a4f80e78

[Tools]Throw exception if a solution reference a not exist csproj. (#15101) * Throw exception if a solution reference a not exist csproj. * Throw exception if a solution reference a not exist csproj. Co-authored-by: wyunchi-ms <yunwang@microsoft.com>

view details

push time in 7 hours

PR merged Azure/azure-powershell

Reviewers
[Tools]Throw exception if a solution reference a not exist csproj. needs-review

<!-- DO NOT DELETE THIS TEMPLATE -->

Description

Problem want to solve

  1. CI still pass when a referenced csproj file is removed. But this should be detected.

Solution

  1. We will detect the existance of every csproj file referenced by the solution files and throw exception if any of them doesn't exist.

<!-- Please add a brief description of the changes made in this PR -->

Checklist

  • [x] I have read the Submitting Changes section of CONTRIBUTING.md
  • [x] The title of the PR is clear and informative
  • [x] The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • [x] The PR does not introduce breaking changes
  • [x] If applicable, the changes made in the PR have proper test coverage
  • [x] For public API changes to cmdlets:
    • [x] a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • [x] the markdown help files have been regenerated using the commands listed here
+21 -5

4 comments

1 changed file

wyunchi-ms

pr closed time in 7 hours

issue closedAzure/azure-powershell

Pipeline should check the path of all csproj files

Description

Current pipeline check all solutions files and csproj files to calculate the dependency between modules. The result is used for scope of PR validation. We ignore the case that csproj file is declared in solution file but the file is non-existing.

It makes problem when we change the path of csproj or remove it during upgrading module or deprecating module.

After internal discussion, the better solution is to stop the PR validation when any csproj file in solution is not existing.

Cost

closed time in 7 hours

dingmeng-xue

push eventAzure/azure-powershell

Xiaogang

commit sha 0d6f89ac34af05ff12a8f9fcd0b57ca8d292a7a4

Print default log of auto gen module to verbose stream (#15285) * Print default log of auto gen module to verbose stream * Update src/Accounts/Accounts/ChangeLog.md Co-authored-by: Beisi Zhou <zhoubeisi@gmail.com>

view details

push time in 7 hours

PR merged Azure/azure-powershell

Print default log of auto gen module to verbose stream Waiting for CI :shipit:

Part of fix to https://github.com/Azure/autorest.powershell/issues/689.

+2 -1

0 comment

2 changed files

dolauli

pr closed time in 7 hours

pull request commentAzure/azure-powershell

Fix #15091- Import-AzWebAppKeyVaultCertificate api version bug

<samp> Azure Pipelines successfully started running 1 pipeline(s).<br>

</samp>

Kotasudhakarreddy

comment created time in 8 hours

pull request commentAzure/azure-powershell

Fix #15091- Import-AzWebAppKeyVaultCertificate api version bug

/azp run azure-powershell - powershell-core

Kotasudhakarreddy

comment created time in 8 hours

Pull request review commentAzure/azure-powershell

Fix #15091- Import-AzWebAppKeyVaultCertificate api version bug

 public KeyVaultManagementClient WrappedKeyVaultClient             private set;         } -        public Vault GetKeyVault(string resourceGroupName, string vaultName)+        public Vault GetKeyVault(string resourceGroupName, string vaultName, string kvSubscriptionId)

Done!

Kotasudhakarreddy

comment created time in 8 hours

Pull request review commentAzure/azure-powershell

Fix #15091- Import-AzWebAppKeyVaultCertificate api version bug

         - Additional information about change #1 --> ## Upcoming Release+* fixed `Import-AzWebAppKeyVaultCertificate` to support ServerFarmId. 

Done!

Kotasudhakarreddy

comment created time in 8 hours

push eventAzure/azure-powershell

Beisi Zhou

commit sha aa4d703c1d5462bc42fc4a8be7a15df955b1e103

Add Datadog links in hub page (#15303)

view details

push time in 8 hours

PR merged Azure/azure-powershell

Add Datadog links in hub page Waiting for CI :shipit:

<!-- DO NOT DELETE THIS TEMPLATE -->

Description

Add Datadog links in hub page

<!-- Please add a brief description of the changes made in this PR -->

Checklist

  • [ ] I have read the Submitting Changes section of CONTRIBUTING.md
  • [ ] The title of the PR is clear and informative
  • [ ] The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • [ ] The PR does not introduce breaking changes
  • [ ] If applicable, the changes made in the PR have proper test coverage
  • [ ] For public API changes to cmdlets:
    • [ ] a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • [ ] the markdown help files have been regenerated using the commands listed here
+2 -0

0 comment

1 changed file

BethanyZhou

pr closed time in 8 hours

issue commentAzure/azure-powershell

Request: AAD group owner support

@DevonK3 we are working on migrating the *AzAD cmdlets from using AzureAD to using Microsoft Graph endpoint. In our current plans Az will continue to offer cmdlets that allows to manage the same resources than what we have today as part of Az.Resources. Unfortunately, this is not "just changing the endpoint" so the exposed cmdlets with look different but we plan to provide a migration path to ease this breaking change.

Without looking in much details, this is the corresponding cmdlets between AzureAD and MSGraph: Add-AzureADGroupOwner -> New-MgGroupOwnerByRef Get-AzureADGroupOwner -> Get-MgGroupOwner Remove-AzureADGroupOwner -> Currently missing equivalent in the MSGraph module.

perbergland

comment created time in 9 hours