Runbook deployment on Azure Stack - azure

Please help me with any document or link to how to deploy a Runbook on Azure Stack. I know we can do it in azure portal though. But I am not getting the exact procedure how to proceed in Azure Stack. We have public cloud where we have the policy applied , so that it will behave like a stack. But when I try to create an automation account policy is disallowing to create the automation account. Hence I am skeptical now how to create an automation account and in turn deploy a Runbook in azure stack.As an alternative we are also trying out Visual Studio to create ARM template and deploy runbooks. Please suggest if anybody has any pointers any other way to do workflow automation in azure stack.
Thanks...

Azure automation is currently not supported on Azure Stack. This is already known to the Automation team and it would be helpful if you can up vote on this feedback as well: https://feedback.azure.com/forums/246290-automation/suggestions/32099044-bring-azure-automation-and-dsc-to-azure-stack

You create a log analytic workspace in azure and link that to the stack. that way you can create an automation account and enable inventory, update management and maybe runbooks.

Related

Pass Azure connection to console app in Azure DevOps pipeline

I have a custom console application that needs access to some Azure services (KeyVault, VM management, etc.).
I need to call this console app within a task in an Azure DevOps pipeline.
How can I pass an Azure service connection and use it from the application?
I thought that some information should be accessible in an Azure PowerShell task, but I can't find enough reference.
You may need to create a service principle and access the your azure subscription with this service principle.
Please refer document here to create a service and assign it to a role with the right permission to access your subscription.
If you would like to create service principle with azure cli, please refer steps here
To use the service principle in your console app. You can refer to this example.
Check here for more information about Azure Rest api. For Azure .net sdk please refer here
Well, it would depend on whether the specific build/release task that you're using supports passing Service Connection as an argument. Looking at the Azure Powershell task reference, I can see that azureSubscription parameter is accepted as an input to the task, which should let you configure your subscription.
Hope this addresses your query!

Azure Analysis service deployment using Azure DevOps

I am working on Azure Analysis service directly from portal.azure.com. Instead i want AAS be save as some file in git repo and deployed is managed through Azure DevOps. Not sure if this possible? How to proceed further on this
Currently, Azure Analysis Service don’t support implementing using Azure Devops.
I would request you to provide the feedback here:
https://feedback.azure.com/forums/556165-azure-analysis-services
All of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
You could have a script task make a REST call to Azure from Azure DevOps, building the URL and payload from code, say passing in parameters, or by utilising a variable group.

Azure Active Directory and Azure DevOps

We're planning on migrating our TFS on premise to Azure DevOps. I understand that to migrate, we need Azure AD. My question is, what would be the subscription level should I get?
I'm fairly new to this so please go easy on me. Thanks!
Do you mean Azure Subscription?
DevOps doesn't requires Azure Subscription. But if you anticipate needing to purchase any additional user plans, build/deployment pipelines, hosted build services, hosted load test services, or other developer services, we highly recommend making sure that you have an Azure Subscription ready for linking to your imported Azure DevOps Services organization once the import has completed.
You could refer to the migration guide first, which can be downloaded from website below:
https://azure.microsoft.com/en-us/services/devops/migrate/

Is there a Nuget package to create Azure Function Apps?

I need to create multiple Azure Function apps in different geographic locations over and over, so I need to automate this. Doing this in the Portal isn't going to scale. I thought there would be a Nuget package for doing this, but I haven't found it yet. Any ideas on how to automate the creation of Azure Function Apps?
There isn't an Azure Functions specific NuGet package or API. Functions works with the standard Azure Resource Manager APIs (consistent with the way you manage other Azure services) and new Function Apps can be provisioned using PowerShell, the Azure CLI, the ARM API or directly through the portal.
Under the "Get Started" section of the documentation I've linked to, you can find more information on how to create and manage templates.
I hope this helps!
As far as I know, there is no Nuget Package for you to do this. Per my understanding, you could leverage ARM template to create your Azure Function App.
You could try to follow the issue & code sample on GitHub about deploying Azure Function Apps with ARM to create the Azure Function App in multiple geographic locations as expected.
Also, you could follow this tutorial about deploying your resources to Azure with Resource Manager templates via Azure Power Shell.

Has Any one tried in Deploying the package programatically in Azure

Has Any one tried implementing deployment of Azure CSPKG deployment programmatically using Service Management REST API. Please share with me any guideline or website which explain me clearly. Especially I Want my Web ROle to deploy the Worker ROle where package is in Azure blob storage.
Check out this article by Neil Mackenzie. This covers working with the REST API to perform deployments. Also, you could check out the code that is used under the hood by the Windows Azure PowerShell cmdlets by looking in the code on GitHub.

Resources