skip to Main Content

Get Private FQDNs, IPs, Names of the Private Endpoints for the Azure resources deployed in an Virtual Network using PowerShell Script

Connect-AzAccount -Tenant 'xxxxx' -SubscriptionId 'xxxx' # Get the Resource Group Name $resourceGroupName = "city-app-rg-xx-uat" # Get all Private Endpoints in the Resource Group $privateEndpoints = Get-AzPrivateEndpoint -ResourceGroupName $resourceGroupName # Create a list to store the data $data = @() #…

VIEW QUESTION

Azure – Error: Code=InvalidTemplateDeployment; Message=The template deployment 'StAccDeployment' is not valid according to the validation procedure

PowerShell Command: New-AzResourceGroupDeployment -Name 'StAccDeployment' -TemplateFile '.CreateStorageAccount.bicep' -ResourceGroupName 'bicepworks' -Mode Incremental CreateStorageAccount.bicep: resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = { name: 'rajstaccprc01' location: 'centralindia' sku: { name: 'Standard_LRS' } kind: 'BlobStorage' } The above bicep template is a basic one. When I see…

VIEW QUESTION
Back To Top
Search