During building in Azure virtual-environments (https://github.com/actions/virtual-environments) you can see: New-AzADAppCredential : Cannot bind argument to parameter ‘ApplicationId’ because it is an empty string. At C:virtual-environmentshelpersGenerateResourcesAndImage.ps1:224 char:13 + $appCred = New-AzADAppCredential -ApplicationId $sp.AppId … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [New-AzADAppCredential], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,New-AzADAppCredential In that case you must add: AzureClientId AzureClientSecret AzureTenantId So the whole command: GenerateResourcesAndImage -SubscriptionId xxxx -ResourceGroupName “DevOpsPackerAgent” -ImageGenerationRepositoryRoot “$pwd” -ImageType Windows2019 -AzureLocation “uksouth” -AzureClientId “yyy” -AzureClientSecret “zzz” -AzureTenantId “qqq”
Month: January 2022
Teams – share files between organizations, tenants.
Sometimes I need to explain several times differences between Guests and “non-guest” experience in Microsoft Teams. https://docs.microsoft.com/en-us/microsoftteams/communicate-with-users-from-other-organizations