Skip to content

Commit d1d108c

Browse files
authored
[Az.Resources] Update changelog and help (#27186)
* update changelog and help * update changelog and help * update help
1 parent 586bc44 commit d1d108c

File tree

3 files changed

+30
-14
lines changed

3 files changed

+30
-14
lines changed

src/Resources/Resources/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Added `-ApplicationId` as an alias of `-ServicePrincipalName`.
2223
* Supported getting role assignments at the exact scope via `-AtScope` for `Get-AzRoleAssignment`.
2324

2425
## Version 7.8.1

src/Resources/Resources/help/Get-AzRoleAssignment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ Filters all assignments that are made to the specified Microsoft Entra applicati
456456
```yaml
457457
Type: System.String
458458
Parameter Sets: ResourceGroupWithSPNParameterSet, ResourceWithSPNParameterSet, ScopeWithSPNParameterSet, SPNParameterSet
459-
Aliases: SPN
459+
Aliases: SPN, ApplicationId
460460

461461
Required: True
462462
Position: Named

src/Resources/Resources/help/Remove-AzRoleAssignment.md

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,86 +27,86 @@ Please notice that this cmdlet will mark `ObjectType` as `Unknown` in output if
2727
```
2828
Remove-AzRoleAssignment -ObjectId <String> [-Scope <String>] -RoleDefinitionName <String> [-PassThru]
2929
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
30-
[-WhatIf] [-Confirm] [<CommonParameters>]
30+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
3131
```
3232

3333
### ResourceWithObjectIdParameterSet
3434
```
3535
Remove-AzRoleAssignment -ObjectId <String> -ResourceGroupName <String> -ResourceName <String>
3636
-ResourceType <String> [-ParentResource <String>] -RoleDefinitionName <String> [-PassThru]
3737
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
38-
[-WhatIf] [-Confirm] [<CommonParameters>]
38+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
3939
```
4040

4141
### ResourceGroupWithObjectIdParameterSet
4242
```
4343
Remove-AzRoleAssignment -ObjectId <String> -ResourceGroupName <String> -RoleDefinitionName <String> [-PassThru]
4444
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
45-
[-WhatIf] [-Confirm] [<CommonParameters>]
45+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
4646
```
4747

4848
### ScopeWithObjectIdParameterSet
4949
```
5050
Remove-AzRoleAssignment -ObjectId <String> [-Scope <String>] -RoleDefinitionName <String> [-PassThru]
5151
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
52-
[-WhatIf] [-Confirm] [<CommonParameters>]
52+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
5353
```
5454

5555
### RoleIdWithScopeAndObjectIdParameterSet
5656
```
5757
Remove-AzRoleAssignment -ObjectId <String> [-Scope <String>] -RoleDefinitionId <Guid> [-PassThru]
5858
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
59-
[-WhatIf] [-Confirm] [<CommonParameters>]
59+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
6060
```
6161

6262
### ResourceWithSignInNameParameterSet
6363
```
6464
Remove-AzRoleAssignment -SignInName <String> -ResourceGroupName <String> -ResourceName <String>
6565
-ResourceType <String> [-ParentResource <String>] -RoleDefinitionName <String> [-PassThru]
6666
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
67-
[-WhatIf] [-Confirm] [<CommonParameters>]
67+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
6868
```
6969

7070
### ResourceGroupWithSignInNameParameterSet
7171
```
7272
Remove-AzRoleAssignment -SignInName <String> -ResourceGroupName <String> -RoleDefinitionName <String>
7373
[-PassThru] [-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
74-
[-WhatIf] [-Confirm] [<CommonParameters>]
74+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
7575
```
7676

7777
### ScopeWithSignInNameParameterSet
7878
```
7979
Remove-AzRoleAssignment -SignInName <String> [-Scope <String>] -RoleDefinitionName <String> [-PassThru]
8080
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
81-
[-WhatIf] [-Confirm] [<CommonParameters>]
81+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
8282
```
8383

8484
### ResourceWithSPNParameterSet
8585
```
8686
Remove-AzRoleAssignment -ServicePrincipalName <String> -ResourceGroupName <String> -ResourceName <String>
8787
-ResourceType <String> [-ParentResource <String>] -RoleDefinitionName <String> [-PassThru]
8888
[-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
89-
[-WhatIf] [-Confirm] [<CommonParameters>]
89+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
9090
```
9191

9292
### ResourceGroupWithSPNParameterSet
9393
```
9494
Remove-AzRoleAssignment -ServicePrincipalName <String> -ResourceGroupName <String> -RoleDefinitionName <String>
9595
[-PassThru] [-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
96-
[-WhatIf] [-Confirm] [<CommonParameters>]
96+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
9797
```
9898

9999
### ScopeWithSPNParameterSet
100100
```
101101
Remove-AzRoleAssignment -ServicePrincipalName <String> [-Scope <String>] -RoleDefinitionName <String>
102102
[-PassThru] [-SkipClientSideScopeValidation] [-DefaultProfile <IAzureContextContainer>]
103-
[-WhatIf] [-Confirm] [<CommonParameters>]
103+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
104104
```
105105

106106
### RoleAssignmentParameterSet
107107
```
108108
Remove-AzRoleAssignment [-PassThru] [-InputObject] <PSRoleAssignment> [-SkipClientSideScopeValidation]
109-
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
109+
[-DefaultProfile <IAzureContextContainer>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
110110
[<CommonParameters>]
111111
```
112112

@@ -229,6 +229,21 @@ Accept pipeline input: False
229229
Accept wildcard characters: False
230230
```
231231
232+
### -ProgressAction
233+
{{ Fill ProgressAction Description }}
234+
235+
```yaml
236+
Type: System.Management.Automation.ActionPreference
237+
Parameter Sets: (All)
238+
Aliases: proga
239+
240+
Required: False
241+
Position: Named
242+
Default value: None
243+
Accept pipeline input: False
244+
Accept wildcard characters: False
245+
```
246+
232247
### -ResourceGroupName
233248
The resource group name that the role is assigned to.
234249
Attempts to delete an assignment at the specified resource group scope.
@@ -339,7 +354,7 @@ The ServicePrincipalName of the Microsoft Entra application
339354
```yaml
340355
Type: System.String
341356
Parameter Sets: ResourceWithSPNParameterSet, ResourceGroupWithSPNParameterSet, ScopeWithSPNParameterSet
342-
Aliases: SPN
357+
Aliases: SPN, ApplicationId
343358

344359
Required: True
345360
Position: Named

0 commit comments

Comments
 (0)