Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BULK] - DocuTune remediation - Sensitive terms with GUIDs (part 53) #3365

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This command disables Microsoft Entra-only authentication for workspace ContosoW

### Example 3
```powershell
Disable-AzSynapseActiveDirectoryOnlyAuthentication -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
Disable-AzSynapseActiveDirectoryOnlyAuthentication -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This command enables Microsoft Entra-only authentication for workspace ContosoWo

### Example 3
```powershell
Enable-AzSynapseActiveDirectoryOnlyAuthentication -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
Enable-AzSynapseActiveDirectoryOnlyAuthentication -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
```

```output
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Enable-AzSynapseWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ This command activates a new Azure Synapse Analytics workspace named ContosoWork

### Example 3
```powershell
Enable-AzSynapseWorkspace -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/keys/default
Enable-AzSynapseWorkspace -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/keys/default
```

This command activates a new Azure Synapse Analytics workspace through pipeline with the specified resource ID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ This command gets Microsoft Entra-only authentication status for Synapse workspa

### Example 3
```powershell
Get-AzSynapseActiveDirectoryOnlyAuthentication -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
Get-AzSynapseActiveDirectoryOnlyAuthentication -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
```

```output
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Get-AzSynapseSparkPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This command gets all Spark pools under a workspace through pipeline.

### Example 4
```powershell
Get-AzSynapseSparkPool -ResourceId "/subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/bigDataPools/ContosoSparkPool"
Get-AzSynapseSparkPool -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/bigDataPools/ContosoSparkPool"
```

This command gets the Spark pool with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Get-AzSynapseSqlDatabase.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ This command gets all the SQL databases under a workspace through pipeline.

### Example 4
```powershell
Get-AzSynapseSqlDatabase -ResourceId "/subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlDatabases/ContosoSqlDatabase"
Get-AzSynapseSqlDatabase -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlDatabases/ContosoSqlDatabase"
```

This command gets the SQL database with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Get-AzSynapseSqlPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This command gets all the SQL pools under a workspace through pipeline.

### Example 4
```powershell
Get-AzSynapseSqlPool -ResourceId "/subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlPools/ContosoSqlPool"
Get-AzSynapseSqlPool -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlPools/ContosoSqlPool"
```

This command gets the SQL pool with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Get-AzSynapseWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This command gets the Azure Synapse Analytics workspace with the specified name.

### Example 4
```powershell
Get-AzSynapseWorkspace -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
Get-AzSynapseWorkspace -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
```

This command gets the Azure Synapse Analytics workspace with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Get-AzSynapseWorkspaceKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This command gets information about the workspace key named ContosoWorkspaceKey

### Example 4
```powershell
Get-AzSynapseSqlPool -ResourceId "/subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/keys/ContosoWorkspaceKey"
Get-AzSynapseSqlPool -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/keys/ContosoWorkspaceKey"
```

This command gets the workspace key with the specified resource ID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Creates a Kusto pool database principalAssignment.

### Example 1: Create a Kusto pool database principalAssignment
```powershell
New-AzSynapseKustoPoolDatabasePrincipalAssignment -ResourceGroupName testrg -WorkspaceName testws -KustoPoolName testkustopool -DatabaseName testdatabase -PrincipalAssignmentName kustoprincipal -PrincipalId 00001111-aaaa-2222-bbbb-3333cccc4444 -PrincipalType App -Role Viewer
New-AzSynapseKustoPoolDatabasePrincipalAssignment -ResourceGroupName testrg -WorkspaceName testws -KustoPoolName testkustopool -DatabaseName testdatabase -PrincipalAssignmentName kustoprincipal -PrincipalId aaaaaaaa-bbbb-cccc-1111-222222222222 -PrincipalType App -Role Viewer
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Create a Kusto pool principalAssignment.

### Example 1: Create a Kusto pool principalAssignment
```powershell
New-AzSynapseKustoPoolPrincipalAssignment -ResourceGroupName testrg -WorkspaceName testws -KustoPoolName testnewkustopool -PrincipalAssignmentName kustoprincipal -PrincipalId "00001111-aaaa-2222-bbbb-3333cccc4444" -PrincipalType App -Role AllDatabasesAdmin
New-AzSynapseKustoPoolPrincipalAssignment -ResourceGroupName testrg -WorkspaceName testws -KustoPoolName testnewkustopool -PrincipalAssignmentName kustoprincipal -PrincipalId "aaaaaaaa-bbbb-cccc-1111-222222222222" -PrincipalType App -Role AllDatabasesAdmin
```

```output
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/New-AzSynapseRoleAssignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The cmdlet may call below Microsoft Graph API according to input parameters:

>[!Note]
> To create a role assignment for a service principal, pass the object ID of the principal in the ObjectId parameter.
> When you are a user with permission to manage Azure RBAC role assignment on the workspace but not a Synapse Administrator, please create Synapse Administrator role by **-RoleDefinitionId** and **-ObjectId** directly but not by **-RoleDefinitionName**, for Synapse Administrator, RoleDefinitionId is "00001111-aaaa-2222-bbbb-3333cccc4444", please take below Example 5 as reference. The reason for this is , when you try to add a "Synapse Administrator" role, the cmdlet needs to get the role ID from the role name which requires workspace read permission, which the current user does not have.
> When you are a user with permission to manage Azure RBAC role assignment on the workspace but not a Synapse Administrator, please create Synapse Administrator role by **-RoleDefinitionId** and **-ObjectId** directly but not by **-RoleDefinitionName**, for Synapse Administrator, RoleDefinitionId is "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb", please take below Example 5 as reference. The reason for this is , when you try to add a "Synapse Administrator" role, the cmdlet needs to get the role ID from the role name which requires workspace read permission, which the current user does not have.

## EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Remove-AzSynapseSparkPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This command deletes an Apache Spark pool in Azure Synapse Analytics through pip

### Example 4
```powershell
Remove-AzSynapseSparkPool -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/bigDataPools/ContosoSparkPool
Remove-AzSynapseSparkPool -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/bigDataPools/ContosoSparkPool
```

This command deletes an Apache Spark pool in Azure Synapse Analytics with a resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Remove-AzSynapseSqlDatabase.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This command deletes an Azure Synapse Analytics SQL database through pipeline.

### Example 4
```powershell
Remove-AzSynapseSqlDatabase -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlDatabases/ContosoSqlDatabase
Remove-AzSynapseSqlDatabase -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlDatabases/ContosoSqlDatabase
```

This command deletes an Azure Synapse Analytics SQL database with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Remove-AzSynapseSqlPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This command deletes an Azure Synapse Analytics SQL pool through pipeline.

### Example 4
```powershell
Remove-AzSynapseSqlPool -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlPools/ContosoSqlPool
Remove-AzSynapseSqlPool -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlPools/ContosoSqlPool
```

This command deletes an Azure Synapse Analytics SQL pool with the specified resource ID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This command deletes an Azure Synapse Analytics SQL pool restore point through p

### Example 4
```powershell
Remove-AzSynapseSqlPoolRestorePoint -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlPools/ContosoSqlPool/SqlPoolRestorePoints/RestorePointCreationDate
Remove-AzSynapseSqlPoolRestorePoint -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/sqlPools/ContosoSqlPool/SqlPoolRestorePoints/RestorePointCreationDate
```

This command deletes an Azure Synapse Analytics SQL pool restore point with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Remove-AzSynapseWorkspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This command deletes an Azure Synapse Analytics workspace through pipeline.

### Example 3
```powershell
Remove-AzSynapseWorkspace -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
Remove-AzSynapseWorkspace -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace
```

This command deletes an Azure Synapse Analytics workspace through pipeline with the specified resource ID.
Expand Down
2 changes: 1 addition & 1 deletion azps-12.5.0/Az.Synapse/Remove-AzSynapseWorkspaceKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ This command deletes a workspace key under an Azure Synapse Analytics workspace

### Example 3
```powershell
Remove-AzSynapseWorkspaceKey -ResourceId /subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/keys/ContosoKeyName
Remove-AzSynapseWorkspaceKey -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/keys/ContosoKeyName
```

This command deletes an Azure Synapse Analytics workspace key through pipeline with the specified resource ID.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This command provisions a Microsoft Entra administrator group named DBAs for the

### Example 2
```powershell
Set-AzSynapseSqlActiveDirectoryAdministrator -WorkspaceName ContosoWorkspace -ObjectId "00001111-aaaa-2222-bbbb-3333cccc4444"
Set-AzSynapseSqlActiveDirectoryAdministrator -WorkspaceName ContosoWorkspace -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
```

This command provisions a Microsoft Entra administrator by objectId for the workspace named ContosoWorkspace.
Expand Down
4 changes: 2 additions & 2 deletions azps-12.5.0/Az.Synapse/Set-AzSynapseSqlAuditSetting.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Set-AzSynapseSqlAuditSetting -WorkspaceName ContosoWorkspace -LogAnalyticsTarget

### Example 11
```powershell
Set-AzSynapseSqlAuditSetting -WorkspaceName ContosoWorkspace -BlobStorageTargetState Enabled -StorageAccountResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup01/providers/Microsoft.Storage/storageAccounts/mystorage" -EventHubTargetState Enabled -EventHubName "EventHubName" -EventHubAuthorizationRuleResourceId "EventHubAuthorizationRuleResourceId" -LogAnalyticsTargetState Enabled -WorkspaceResourceId "/subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
Set-AzSynapseSqlAuditSetting -WorkspaceName ContosoWorkspace -BlobStorageTargetState Enabled -StorageAccountResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup01/providers/Microsoft.Storage/storageAccounts/mystorage" -EventHubTargetState Enabled -EventHubName "EventHubName" -EventHubAuthorizationRuleResourceId "EventHubAuthorizationRuleResourceId" -LogAnalyticsTargetState Enabled -WorkspaceResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
```

Enable sending audit records of an Azure Synapse Analytics Workspace to blob storage, event hub and log analytics.
Expand Down Expand Up @@ -407,7 +407,7 @@ Accept wildcard characters: False
```

### -WorkspaceResourceId
The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Audit Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Audit Logs. Example: /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2

```yaml
Type: System.String
Expand Down