Tags "azure-powershell" Result

Using Az module in Azure DevOps Release Pipeline

I want to use the Azure PowerShell Module (aka Az Module) in an Azure DevOps Release Pipeline. However, the existing PowerShell options don't seem to work. I've tried various things, but installing the new Az module just brings up a ton of errors, including Az and AzureRM modules cannot be imported in the same session or used in the same script or

it1352 1 2020-09-17

Deploy Code from GitLab Repository to Azure Web App using PowerShell

I would like to setup continuous deployment from a GitLab repository to an Azure App using a PowerShell script. I'm aware that you can do this manually as per: https://christianliebel.com/2016/05/auto-deploying-to-azure-app-services-from-gitlab/ However, I'm trying to automate this with Powershell. I've looked at this sample script for GitHub: h

it1352 0 2020-09-16

The term 'New-AzureRmServiceBusNamespace' is not recognized as the name of a cmdlet, function, script file, or operable program

I was getting below error The term 'New-AzureRmServiceBusNamespace' is not recognized as the name of a cmdlet, function, script file, or operable program. If i try to run Import-Module AzureRM.ServiceBus I get below error The member 'FormatsToProcess' in the module manifest is not valid: Cannot find path 'C:\Program Files (x86)\Microsoft SDKs\Az

it1352 0 2020-09-17

Get-AzureWebsite : Requested value 'Dynamic' was not found

We have a set of custom powershell modules which use the Azure powershell cmdlets - they have been working fine for over a year. I just set up a new machine and whenever I try to run Get_AzureWebsite I receive the following error: PS C:\WINDOWS\system32> Get-AzureWebsite 'anything' Get-AzureWebsite : Requested value 'Dynamic' was not found. Thi

it1352 0 2020-09-16

auto login Azure powershell

Every time I open a azure powershell windows is it possible to auto login ? i.e. this command given below should run everytime I open Azure Command window. Get-AzurePublishSettingsFile (path in local machine) or even Add-AzureAccount Solution You can actually do it. Follow this process: Open the Azure PowerShell initialization file at "C:\Pro

it1352 0 2019-05-08

Azure AD B2B Import in new portal

I'm just looking for a yes or no answer here, and I can't seem to find anything online... Can I upload B2B users into Azure AD using the new portal (i.e. The resource manager approach - portal.azure.com), or do I have to continue using the classic portal (manage.windowsazure.com)? https://github.com/Azure/azure-content/blob/master/articles/active

it1352 0 2020-09-16

ArgumentNullException - Get-AzureService

I'm trying to use the Windows Azure PowerShell module to manage a subscription. I have downloaded my certificate (the .publishsettings file) and imported it with Import-AzurePublishSettingsFile and then I've selected my subscription with Select-AzureSubscription neither of which gave errors. I've also set my subscription using Set-AzureSubscripti

it1352 4 2019-05-08