Skip to content

Commit d0a94e8

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Updating reference docs
1 parent 47af2e9 commit d0a94e8

File tree

57 files changed

+16454
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+16454
-0
lines changed
Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
---
2+
external help file: Microsoft.Graph.Applications-help.xml
3+
Module Name: Microsoft.Graph.Applications
4+
online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef
5+
schema: 2.0.0
6+
ms.subservice: entra-sign-in
7+
---
8+
9+
# Remove-MgApplicationAppManagementPolicyByRef
10+
11+
## SYNOPSIS
12+
Remove an appManagementPolicy policy object from an application or service principal object.
13+
When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
14+
15+
> [!NOTE]
16+
> To view the beta release of this cmdlet, view [Remove-MgBetaApplicationAppManagementPolicyAppManagementPolicyByRef](/powershell/module/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationAppManagementPolicyAppManagementPolicyByRef?view=graph-powershell-beta)
17+
18+
## SYNTAX
19+
20+
### Delete (Default)
21+
```
22+
Remove-MgApplicationAppManagementPolicyByRef -AppManagementPolicyId <String>
23+
-ApplicationId <String> [-IfMatch <String>] [-ResponseHeadersVariable <String>] [-Headers <IDictionary>]
24+
[-PassThru] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
25+
```
26+
27+
### DeleteViaIdentity
28+
```
29+
Remove-MgApplicationAppManagementPolicyByRef -InputObject <IApplicationsIdentity>
30+
[-IfMatch <String>] [-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-PassThru]
31+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
32+
```
33+
34+
## DESCRIPTION
35+
Remove an appManagementPolicy policy object from an application or service principal object.
36+
When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
37+
38+
**Permissions**
39+
| Permission type | Permissions (from least to most privileged) |
40+
| --------------- | ------------------------------------------ |
41+
| Delegated (work or school account) | Not supported |
42+
| Delegated (personal Microsoft account) | Not supported |
43+
| Application | Not supported |
44+
45+
## EXAMPLES
46+
### Example 1: Code snippet
47+
48+
```powershell
49+
50+
Import-Module Microsoft.Graph.Applications
51+
52+
Remove-MgApplicationAppManagementPolicyByRef -ApplicationId $applicationId -AppManagementPolicyId $appManagementPolicyId
53+
54+
```
55+
This example shows how to use the Remove-MgApplicationAppManagementPolicyByRef Cmdlet.
56+
57+
58+
## PARAMETERS
59+
60+
### -ApplicationId
61+
The unique identifier of application
62+
63+
```yaml
64+
Type: String
65+
Parameter Sets: Delete
66+
Aliases:
67+
68+
Required: True
69+
Position: Named
70+
Default value: None
71+
Accept pipeline input: False
72+
Accept wildcard characters: False
73+
```
74+
75+
### -AppManagementPolicyId
76+
The unique identifier of appManagementPolicy
77+
78+
```yaml
79+
Type: String
80+
Parameter Sets: Delete
81+
Aliases:
82+
83+
Required: True
84+
Position: Named
85+
Default value: None
86+
Accept pipeline input: False
87+
Accept wildcard characters: False
88+
```
89+
90+
### -Headers
91+
Optional headers that will be added to the request.
92+
93+
```yaml
94+
Type: IDictionary
95+
Parameter Sets: (All)
96+
Aliases:
97+
98+
Required: False
99+
Position: Named
100+
Default value: None
101+
Accept pipeline input: True (ByValue)
102+
Accept wildcard characters: False
103+
```
104+
105+
### -IfMatch
106+
ETag
107+
108+
```yaml
109+
Type: String
110+
Parameter Sets: (All)
111+
Aliases:
112+
113+
Required: False
114+
Position: Named
115+
Default value: None
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
120+
### -InputObject
121+
Identity Parameter
122+
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
123+
124+
```yaml
125+
Type: IApplicationsIdentity
126+
Parameter Sets: DeleteViaIdentity
127+
Aliases:
128+
129+
Required: True
130+
Position: Named
131+
Default value: None
132+
Accept pipeline input: True (ByValue)
133+
Accept wildcard characters: False
134+
```
135+
136+
### -PassThru
137+
Returns true when the command succeeds
138+
139+
```yaml
140+
Type: SwitchParameter
141+
Parameter Sets: (All)
142+
Aliases:
143+
144+
Required: False
145+
Position: Named
146+
Default value: False
147+
Accept pipeline input: False
148+
Accept wildcard characters: False
149+
```
150+
151+
### -ProgressAction
152+
{{ Fill ProgressAction Description }}
153+
154+
```yaml
155+
Type: ActionPreference
156+
Parameter Sets: (All)
157+
Aliases: proga
158+
159+
Required: False
160+
Position: Named
161+
Default value: None
162+
Accept pipeline input: False
163+
Accept wildcard characters: False
164+
```
165+
166+
### -ResponseHeadersVariable
167+
Optional Response Headers Variable.
168+
169+
```yaml
170+
Type: String
171+
Parameter Sets: (All)
172+
Aliases: RHV
173+
174+
Required: False
175+
Position: Named
176+
Default value: None
177+
Accept pipeline input: False
178+
Accept wildcard characters: False
179+
```
180+
181+
### -Confirm
182+
Prompts you for confirmation before running the cmdlet.
183+
184+
```yaml
185+
Type: SwitchParameter
186+
Parameter Sets: (All)
187+
Aliases: cf
188+
189+
Required: False
190+
Position: Named
191+
Default value: None
192+
Accept pipeline input: False
193+
Accept wildcard characters: False
194+
```
195+
196+
### -WhatIf
197+
Shows what would happen if the cmdlet runs.
198+
The cmdlet is not run.
199+
200+
```yaml
201+
Type: SwitchParameter
202+
Parameter Sets: (All)
203+
Aliases: wi
204+
205+
Required: False
206+
Position: Named
207+
Default value: None
208+
Accept pipeline input: False
209+
Accept wildcard characters: False
210+
```
211+
212+
### CommonParameters
213+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
214+
215+
## INPUTS
216+
217+
### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity
218+
### System.Collections.IDictionary
219+
## OUTPUTS
220+
221+
### System.Boolean
222+
## NOTES
223+
COMPLEX PARAMETER PROPERTIES
224+
225+
To create the parameters described below, construct a hash table containing the appropriate properties.
226+
For information on hash tables, run Get-Help about_Hash_Tables.
227+
228+
INPUTOBJECT `<IApplicationsIdentity>`: Identity Parameter
229+
- `[AppId <String>]`: Alternate key of application
230+
- `[AppManagementPolicyId <String>]`: The unique identifier of appManagementPolicy
231+
- `[AppRoleAssignmentId <String>]`: The unique identifier of appRoleAssignment
232+
- `[ApplicationId <String>]`: The unique identifier of application
233+
- `[ApplicationTemplateId <String>]`: The unique identifier of applicationTemplate
234+
- `[ClaimsMappingPolicyId <String>]`: The unique identifier of claimsMappingPolicy
235+
- `[DelegatedPermissionClassificationId <String>]`: The unique identifier of delegatedPermissionClassification
236+
- `[DirectoryDefinitionId <String>]`: The unique identifier of directoryDefinition
237+
- `[DirectoryObjectId <String>]`: The unique identifier of directoryObject
238+
- `[EndpointId <String>]`: The unique identifier of endpoint
239+
- `[ExtensionPropertyId <String>]`: The unique identifier of extensionProperty
240+
- `[FederatedIdentityCredentialId <String>]`: The unique identifier of federatedIdentityCredential
241+
- `[GroupId <String>]`: The unique identifier of group
242+
- `[HomeRealmDiscoveryPolicyId <String>]`: The unique identifier of homeRealmDiscoveryPolicy
243+
- `[Name <String>]`: Alternate key of federatedIdentityCredential
244+
- `[OAuth2PermissionGrantId <String>]`: The unique identifier of oAuth2PermissionGrant
245+
- `[ServicePrincipalId <String>]`: The unique identifier of servicePrincipal
246+
- `[SynchronizationJobId <String>]`: The unique identifier of synchronizationJob
247+
- `[SynchronizationTemplateId <String>]`: The unique identifier of synchronizationTemplate
248+
- `[TargetDeviceGroupId <String>]`: The unique identifier of targetDeviceGroup
249+
- `[TokenIssuancePolicyId <String>]`: The unique identifier of tokenIssuancePolicy
250+
- `[TokenLifetimePolicyId <String>]`: The unique identifier of tokenLifetimePolicy
251+
- `[UniqueName <String>]`: Alternate key of application
252+
- `[UserId <String>]`: The unique identifier of user
253+
254+
## RELATED LINKS
255+
256+
[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef)
257+
258+
[https://learn.microsoft.com/graph/api/appmanagementpolicy-delete-appliesto?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/appmanagementpolicy-delete-appliesto?view=graph-rest-1.0)
259+
260+
261+
262+
263+
264+
265+
266+
267+
268+
269+
270+
271+
272+
273+
274+
275+
276+
277+
278+
279+
280+
281+

0 commit comments

Comments
 (0)