Sep 10 2022 01:24 AM - edited Sep 10 2022 01:26 AM
Iam facing one issue with authentication of storage account for automation runbook in azure.
Scene:- Runbook will runasaccount and its based on service principle.
This runbook will get the azurevm status and triggers to store that to storage account every two days.
Issue: Runbook execution is successful if I put networking as publicly accessible
Runbook is failing to store vm data in storage account if changed networking to selected network.
In selected networking, I added resource instance of runbook and allowed trusted azure service,
But still it is showing authentication issues.
I provided contributor and storage blob data contributor role to the service principle also,still authentication issue.
Any idea how to resolve this.
Note:I don't want to make storage account publicly accessible.
Sep 12 2022 02:56 AM
Sep 12 2022 03:14 AM