Skip to content

PowerShell Runbook is still using RunAsAccount and thus does not work #114

@enterprise-1701-d

Description

@enterprise-1701-d

The runbook, which can be found here: https://github.com/Azure/SAP-on-Azure-Scripts-and-Utilities/blob/main/Start-Stop-Automation/Automation-Backend/Runbooks/Tag-SAPSystemStandaloneHANA.ps1 is still using RunAsAccount and thus doesn not work anymore.

Suggested Code change in section:

Connect to Azure

#$connection = Get-AutomationConnection -Name AzureRunAsConnection
#Add-AzAccount -ServicePrincipal -Tenant $connection.TenantID -ApplicationId $connection.ApplicationID - ....
Connect-AzAccount -Identity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions