Skip to content

Set-AzSentinel: Response status code does not indicate success: 401 (Unauthorized) #187

@JaimePolo

Description

@JaimePolo

Environment

Windows build number: 10.0.19042.1083
PowerShell version (if applicable): 7.0.6

Steps to reproduce

#1-Connect to Azure
Connect-AzAccount

#2-Set Azure Context
Set-AzContext -Subscription 76b3de50-2f93-451e-9482-4e7a23712baf

#3-Create Workspace
New-AzOperationalInsightsWorkspace -Location "canadacentral" -Name "SentinelTest" -Sku standard -ResourceGroupName AZR1-RG-LA001

#4-Set Sentinel
Set-AzSentinel -SubscriptionId "76b3de50-2f93-451e-9482-4e7a23712baf" -WorkspaceName "SentinelTest"

Expected behavior

Deploy Sentinel

Actual behavior

Set-AzSentinel: Response status code does not indicate success: 401 (Unauthorized).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions