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
Updated PowerShell onboarding script as it was not working as written. The $user variable line did not produce any results for $user variable which made any references to the $user variable downstream fail. Modified line to:
$user = Get-AzADUser -SignedIn
Added a few modifications, resolved spelling mistakes and added a couple of comments. Added #-UseDeviceAuthentication to the end of Connect-AzAccount cmdlet to accommodate for an error exhibited in testing.
Used PowerShell multiline comment for optional content, should user want to use optional content they can uncomment the block.
#If cmdlet below produces an error stating 'Interactive authentication is not supported in this session, please run cmdlet 'Connect-AzAccount -UseDeviceAuthentication
# "location" property value under the "body" section should be the Azure region where the MO object would be stored. It should be the "same region" where you created the Data Collection Rule. This is the location of the region from where agent communications would happen.
0 commit comments