Azure Powershell - automating Login-AzureRmAccount AD Login - for Azure function

前端 未结 3 1029
耶瑟儿~
耶瑟儿~ 2021-01-13 06:31

I have this Azure Powershell script, which successfully backs up a SQL Azure DB to Azure Blob.

In its current form, it requires me to log in via AD.

I now n

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 07:16

    To use Azure PowerShell in Azure Functions, you may refer to the following response in another SO thread. The example is an HTTP-Trigger, but you can modify it to use a Timer-Trigger for your use-case. Here's the link:

    Azure Function role like permissions to Stop Azure Virtual Machines

提交回复
热议问题