Azure / Azure/SAP-on-Azure-Scripts-and-Utilities
PowerShell Runbook is still using RunAsAccount and thus does not work
- Dominant language
- PowerShell
- Stars
- 168
- Forks
- 103
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Open Start-Stop-Automation/Automation-Backend/Runbooks/Tag-SAPSystemStandaloneHANA.ps1 and start at the “# Connect to Azure” section. Check the existing RunAsAccount connection flow and the suggested managed-identity connection, then verify the runbook no longer depends on RunAsAccount and can connect as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100