Merge pull request #1019 from meganbradley/meganbradley/docutune-autopr-20241018-185640-7243599-ignore-build
[BULK] - DocuTune remediation - Sensitive terms with GUIDs (part 1)
This commit is contained in:
Коммит
1fe8a3bcf3
|
@ -39,7 +39,7 @@ Specify the _ObjectId_ parameter to get a single contact.
|
|||
|
||||
### Example 1: Get a contact
|
||||
```
|
||||
PS C:\> Get-MsolContact -ObjectId adc41dc7-4130-4215-adfb-2403bc9f844e
|
||||
PS C:\> Get-MsolContact -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
|
||||
```
|
||||
|
||||
This command retrieves a contact.
|
||||
|
|
|
@ -61,7 +61,7 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Get a contact'
|
||||
code: |-
|
||||
PS C:\> Get-MsolContact -ObjectId adc41dc7-4130-4215-adfb-2403bc9f844e
|
||||
PS C:\> Get-MsolContact -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
|
||||
description: |-
|
||||
This command retrieves a contact.
|
||||
summary: ""
|
||||
|
|
|
@ -85,7 +85,7 @@ This command gets a device with the corresponding device ID.
|
|||
|
||||
### Example 5: Get a device object by object ID
|
||||
```
|
||||
PS C:\>Get-MsolDevice -ObjectId "566F7EA7-7BF1-4F4A-AF23-A1B46DBD46D6"
|
||||
PS C:\>Get-MsolDevice -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
|
||||
```
|
||||
|
||||
This command gets a device with the corresponding object ID.
|
||||
|
@ -271,5 +271,3 @@ The value could be one of the following: Authenticated, Compliant, Managed.
|
|||
[Enable-MsolDevice](./Enable-MsolDevice.md)
|
||||
|
||||
[Remove-MsolDevice](./Remove-MsolDevice.md)
|
||||
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ examples:
|
|||
summary: ""
|
||||
- title: 'Example 5: Get a device object by object ID'
|
||||
code: |-
|
||||
PS C:\>Get-MsolDevice -ObjectId "566F7EA7-7BF1-4F4A-AF23-A1B46DBD46D6"
|
||||
PS C:\>Get-MsolDevice -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
|
||||
description: |-
|
||||
This command gets a device with the corresponding object ID.
|
||||
summary: ""
|
||||
|
|
|
@ -41,7 +41,7 @@ This cmdlet can be used to return a single group, if you specify the _ObjectId_
|
|||
|
||||
### Example 1: Get a group by using an ID
|
||||
```
|
||||
PS C:\> Get-MsolGroup -ObjectId af407072-7ae1-4b07-a0ca-6634b7396054
|
||||
PS C:\> Get-MsolGroup -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
|
||||
```
|
||||
|
||||
This command returns the group object that has the specified ID.
|
||||
|
|
|
@ -58,7 +58,7 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Get a group by using an ID'
|
||||
code: |-
|
||||
PS C:\> Get-MsolGroup -ObjectId af407072-7ae1-4b07-a0ca-6634b7396054
|
||||
PS C:\> Get-MsolGroup -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
|
||||
description: |-
|
||||
This command returns the group object that has the specified ID.
|
||||
summary: ""
|
||||
|
|
|
@ -71,7 +71,7 @@ This command retrieves the user with the UPN davidchew@contoso.com.
|
|||
|
||||
### Example 4: Get a user by object ID
|
||||
```
|
||||
PS C:\> Get-MsolUser -ObjectId 81701046-cb37-439b-90ce-2afd9630af7d
|
||||
PS C:\> Get-MsolUser -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
|
||||
```
|
||||
|
||||
This command retrieves a user that has the specified object ID.
|
||||
|
|
|
@ -134,7 +134,7 @@ examples:
|
|||
summary: ""
|
||||
- title: 'Example 4: Get a user by object ID'
|
||||
code: |-
|
||||
PS C:\> Get-MsolUser -ObjectId 81701046-cb37-439b-90ce-2afd9630af7d
|
||||
PS C:\> Get-MsolUser -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
|
||||
description: |-
|
||||
This command retrieves a user that has the specified object ID.
|
||||
summary: ""
|
||||
|
|
|
@ -25,7 +25,7 @@ The **Remove-MsolContact** cmdlet deletes a contact from Azure Active Directory.
|
|||
|
||||
### Example 1: Remove a contact
|
||||
```
|
||||
PS C:\> Remove-MsolContact -ObjectId 40c4ca1a-4e15-40ad-b0bd-abeca4bcafcd -Force
|
||||
PS C:\> Remove-MsolContact -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -Force
|
||||
```
|
||||
|
||||
This command removes a contact from the Azure Active Directory.
|
||||
|
|
|
@ -11,7 +11,7 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Remove a contact'
|
||||
code: |-
|
||||
PS C:\> Remove-MsolContact -ObjectId 40c4ca1a-4e15-40ad-b0bd-abeca4bcafcd -Force
|
||||
PS C:\> Remove-MsolContact -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -Force
|
||||
description: |-
|
||||
This command removes a contact from the Azure Active Directory.
|
||||
summary: ""
|
||||
|
|
|
@ -31,26 +31,26 @@ The **Remove-MsolDevice** cmdlet removes a device object from Azure Active Direc
|
|||
|
||||
### Example 1: Remove a device by device ID with confirmation
|
||||
```
|
||||
PS C:\> Remove-MsolDevice -DeviceId "1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274"
|
||||
PS C:\> Remove-MsolDevice -DeviceId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
|
||||
```
|
||||
|
||||
This command removes the device with DeviceId 1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274 from Azure Active Directory.
|
||||
This command removes the device with DeviceId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb from Azure Active Directory.
|
||||
Since the command does not use the *Force* parameter, the user is prompted for confirmation.
|
||||
|
||||
### Example 2: Remove a device by device ID
|
||||
```
|
||||
PS C:\> Remove-MsolDevice -DeviceId "1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274" -Force
|
||||
PS C:\> Remove-MsolDevice -DeviceId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" -Force
|
||||
```
|
||||
|
||||
This command removes the device with DeviceId 1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274 from Azure Active Directory.
|
||||
This command removes the device with DeviceId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb from Azure Active Directory.
|
||||
Since the command uses the *Force* parameter, the user is not prompted for confirmation.
|
||||
|
||||
### Example 3: Remove a device by object ID
|
||||
```
|
||||
PS C:\> Remove-MsolDevice -ObjectId "1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274"
|
||||
PS C:\> Remove-MsolDevice -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
|
||||
```
|
||||
|
||||
This command removes the device with ObjectId 1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274 from Azure Active Directory.
|
||||
This command removes the device with ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb from Azure Active Directory.
|
||||
|
||||
## PARAMETERS
|
||||
|
||||
|
|
|
@ -25,23 +25,23 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Remove a device by device ID with confirmation'
|
||||
code: |-
|
||||
PS C:\> Remove-MsolDevice -DeviceId "1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274"
|
||||
PS C:\> Remove-MsolDevice -DeviceId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
|
||||
description: |-
|
||||
This command removes the device with DeviceId 1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274 from Azure Active Directory.
|
||||
This command removes the device with DeviceId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb from Azure Active Directory.
|
||||
Since the command does not use the *Force* parameter, the user is prompted for confirmation.
|
||||
summary: ""
|
||||
- title: 'Example 2: Remove a device by device ID'
|
||||
code: |-
|
||||
PS C:\> Remove-MsolDevice -DeviceId "1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274" -Force
|
||||
PS C:\> Remove-MsolDevice -DeviceId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" -Force
|
||||
description: |-
|
||||
This command removes the device with DeviceId 1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274 from Azure Active Directory.
|
||||
This command removes the device with DeviceId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb from Azure Active Directory.
|
||||
Since the command uses the *Force* parameter, the user is not prompted for confirmation.
|
||||
summary: ""
|
||||
- title: 'Example 3: Remove a device by object ID'
|
||||
code: |-
|
||||
PS C:\> Remove-MsolDevice -ObjectId "1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274"
|
||||
PS C:\> Remove-MsolDevice -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"
|
||||
description: |-
|
||||
This command removes the device with ObjectId 1aa200c4-bdfb-42b5-9a1e-5f1bafbe4274 from Azure Active Directory.
|
||||
This command removes the device with ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb from Azure Active Directory.
|
||||
summary: ""
|
||||
parameters:
|
||||
- type: <xref href="SwitchParameter" data-throw-if-not-resolved="False" />
|
||||
|
|
|
@ -40,11 +40,11 @@ The credential to be removed is identified by its key ID.
|
|||
|
||||
### Example 1: Remove a credential from a service principal
|
||||
```
|
||||
PS C:\> Remove-MsolServicePrincipalCredential -KeyIds @("19805a93-e9dd-4c63-8afd-88ed91f33546") -ServicePrincipalName "MyApp2/myApp.com"
|
||||
PS C:\> Remove-MsolServicePrincipalCredential -KeyIds @("aaaaaaaa-0b0b-1c1c-2d2d-333333333333") -ServicePrincipalName "MyApp2/myApp.com"
|
||||
```
|
||||
|
||||
This command removes a credential key from a service principal.
|
||||
In this example, the key ID 19805a93-e9dd-4c63-8afd-88ed91f33546 is removed from the service principal associated with the service principal name MyApp2/myApp.com.
|
||||
In this example, the key ID aaaaaaaa-0b0b-1c1c-2d2d-333333333333 is removed from the service principal associated with the service principal name MyApp2/myApp.com.
|
||||
To show a list of key IDs associated with a service principal, use the [Get-MsolServicePrincipalCredential](./Get-MsolServicePrincipalCredential.md) cmdlet.
|
||||
|
||||
## PARAMETERS
|
||||
|
|
|
@ -21,10 +21,10 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Remove a credential from a service principal'
|
||||
code: |-
|
||||
PS C:\> Remove-MsolServicePrincipalCredential -KeyIds @("19805a93-e9dd-4c63-8afd-88ed91f33546") -ServicePrincipalName "MyApp2/myApp.com"
|
||||
PS C:\> Remove-MsolServicePrincipalCredential -KeyIds @("aaaaaaaa-0b0b-1c1c-2d2d-333333333333") -ServicePrincipalName "MyApp2/myApp.com"
|
||||
description: |-
|
||||
This command removes a credential key from a service principal.
|
||||
In this example, the key ID 19805a93-e9dd-4c63-8afd-88ed91f33546 is removed from the service principal associated with the service principal name MyApp2/myApp.com.
|
||||
In this example, the key ID aaaaaaaa-0b0b-1c1c-2d2d-333333333333 is removed from the service principal associated with the service principal name MyApp2/myApp.com.
|
||||
To show a list of key IDs associated with a service principal, use the [Get-MsolServicePrincipalCredential](./Get-MsolServicePrincipalCredential.yml) cmdlet.
|
||||
summary: ""
|
||||
parameters:
|
||||
|
|
|
@ -27,7 +27,7 @@ The **Add-AzureADApplicationOwner** cmdlet adds an owner to an Azure Active Dire
|
|||
|
||||
### Example 1: Add an owner to an application
|
||||
```
|
||||
PS C:\>Add-AzureADApplicationOwner -ObjectId 3ddd22e7-a150-4bb3-b100-e410dea1cb84 -RefObjectId c13dd34a-492b-4561-b171-40fcce2916c5
|
||||
PS C:\>Add-AzureADApplicationOwner -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -RefObjectId bbbbbbbb-1111-2222-3333-cccccccccccc
|
||||
```
|
||||
|
||||
This command adds an owner to an application.
|
||||
|
@ -116,4 +116,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||
[Get-AzureADApplicationOwner](./Get-AzureADApplicationOwner.md)
|
||||
|
||||
[Remove-AzureADApplicationOwner](./Remove-AzureADApplicationOwner.md)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Add an owner to an application'
|
||||
code: |-
|
||||
PS C:\>Add-AzureADApplicationOwner -ObjectId 3ddd22e7-a150-4bb3-b100-e410dea1cb84 -RefObjectId c13dd34a-492b-4561-b171-40fcce2916c5
|
||||
PS C:\>Add-AzureADApplicationOwner -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -RefObjectId bbbbbbbb-1111-2222-3333-cccccccccccc
|
||||
description: |-
|
||||
This command adds an owner to an application.
|
||||
summary: ""
|
||||
|
|
|
@ -27,7 +27,7 @@ The **Add-AzureADDirectoryRoleMember** cmdlet adds a member to an Azure Active D
|
|||
|
||||
### Example 1: Add a member to an Active Directory role
|
||||
```
|
||||
PS C:\>Add-AzureADDirectoryRoleMember -ObjectId 019ea7a2-1613-47c9-81cb-20ba35b1ae48 -RefObjectId c13dd34a-492b-4561-b171-40fcce2916c5
|
||||
PS C:\>Add-AzureADDirectoryRoleMember -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -RefObjectId bbbbbbbb-1111-2222-3333-cccccccccccc
|
||||
```
|
||||
|
||||
This command adds a member to an Active Directory role.
|
||||
|
@ -115,4 +115,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||
[Get-AzureADDirectoryRoleMember](./Get-AzureADDirectoryRoleMember.md)
|
||||
|
||||
[Remove-AzureADDirectoryRoleMember](./Remove-AzureADDirectoryRoleMember.md)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Add a member to an Active Directory role'
|
||||
code: |-
|
||||
PS C:\>Add-AzureADDirectoryRoleMember -ObjectId 019ea7a2-1613-47c9-81cb-20ba35b1ae48 -RefObjectId c13dd34a-492b-4561-b171-40fcce2916c5
|
||||
PS C:\>Add-AzureADDirectoryRoleMember -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -RefObjectId bbbbbbbb-1111-2222-3333-cccccccccccc
|
||||
description: |-
|
||||
This command adds a member to an Active Directory role.
|
||||
summary: ""
|
||||
|
|
|
@ -27,7 +27,7 @@ The **Add-AzureADGroupMember** cmdlet adds a member to a group.
|
|||
|
||||
### Example 1: Add a member to a group
|
||||
```
|
||||
PS C:\>Add-AzureADGroupMember -ObjectId "62438306-7c37-4638-a72d-0ee8d9217680" -RefObjectId "0a1068c0-dbb6-4537-9db3-b48f3e31dd76"
|
||||
PS C:\>Add-AzureADGroupMember -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" -RefObjectId "bbbbbbbb-1111-2222-3333-cccccccccccc"
|
||||
```
|
||||
|
||||
This command adds a member to a group.
|
||||
|
@ -115,5 +115,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
|
|||
[Get-AzureADGroupMember](./Get-AzureADGroupMember.md)
|
||||
|
||||
[Remove-AzureADGroupMember](./Remove-AzureADGroupMember.md)
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ syntaxes:
|
|||
examples:
|
||||
- title: 'Example 1: Add a member to a group'
|
||||
code: |-
|
||||
PS C:\>Add-AzureADGroupMember -ObjectId "62438306-7c37-4638-a72d-0ee8d9217680" -RefObjectId "0a1068c0-dbb6-4537-9db3-b48f3e31dd76"
|
||||
PS C:\>Add-AzureADGroupMember -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" -RefObjectId "bbbbbbbb-1111-2222-3333-cccccccccccc"
|
||||
description: |-
|
||||
This command adds a member to a group.
|
||||
summary: ""
|
||||
|
|
Загрузка…
Ссылка в новой задаче