You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting to Graph in Azure Automation PowerShell 7.2 with a managed identity, the welcome message is still output even though the -NoWelcome switch is specified.
#2547
Closed
lrarbin opened this issue
Jan 26, 2024
· 3 comments
Describe the bug
When connecting to Graph in Azure Automation PowerShell 7.2 with a managed identity, the welcome message is still output even though the -NoWelcome switch is specified.
Expected behavior
Nothing should be output to the Output Window in Azure Automation PowerShell 7.2 from the Connect-MgGraph cmdlet if the -NoWelcome switch is used.
Debug Output
Cannot get this easily from Azure Automation
Module Version
Please run Get-Module Microsoft.Graph* after cmdlet execution and paste the output below.
If a module cannot be installed or imported, please run Get-Module -ListAvailable and paste the output.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Describe the bug
When connecting to Graph in Azure Automation PowerShell 7.2 with a managed identity, the welcome message is still output even though the -NoWelcome switch is specified.
$umiGraphAccess = Get-AutomationVariable -Name 'umiGraphAccess'
$graphcon = Connect-MgGraph -NoWelcome -Identity -ClientId $umiGraphAccess
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Nothing should be output to the Output Window in Azure Automation PowerShell 7.2 from the Connect-MgGraph cmdlet if the -NoWelcome switch is used.
Debug Output
Cannot get this easily from Azure Automation
Module Version
In the available modules
In the script
Environment Data
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: