Skip to content

Commit 8915bb8

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Updating reference docs
1 parent 5b89dd1 commit 8915bb8

File tree

57 files changed

+16158
-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

+16158
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
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+
## EXAMPLES
39+
### Example 1: Code snippet
40+
41+
```powershell
42+
43+
Import-Module Microsoft.Graph.Applications
44+
45+
Remove-MgApplicationAppManagementPolicyByRef -ApplicationId $applicationId -AppManagementPolicyId $appManagementPolicyId
46+
47+
```
48+
This example shows how to use the Remove-MgApplicationAppManagementPolicyByRef Cmdlet.
49+
50+
51+
## PARAMETERS
52+
53+
### -ApplicationId
54+
The unique identifier of application
55+
56+
```yaml
57+
Type: String
58+
Parameter Sets: Delete
59+
Aliases: ObjectId
60+
61+
Required: True
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: False
65+
Accept wildcard characters: False
66+
```
67+
68+
### -AppManagementPolicyId
69+
The unique identifier of appManagementPolicy
70+
71+
```yaml
72+
Type: String
73+
Parameter Sets: Delete
74+
Aliases:
75+
76+
Required: True
77+
Position: Named
78+
Default value: None
79+
Accept pipeline input: False
80+
Accept wildcard characters: False
81+
```
82+
83+
### -Headers
84+
Optional headers that will be added to the request.
85+
86+
```yaml
87+
Type: IDictionary
88+
Parameter Sets: (All)
89+
Aliases:
90+
91+
Required: False
92+
Position: Named
93+
Default value: None
94+
Accept pipeline input: True (ByValue)
95+
Accept wildcard characters: False
96+
```
97+
98+
### -IfMatch
99+
ETag
100+
101+
```yaml
102+
Type: String
103+
Parameter Sets: (All)
104+
Aliases:
105+
106+
Required: False
107+
Position: Named
108+
Default value: None
109+
Accept pipeline input: False
110+
Accept wildcard characters: False
111+
```
112+
113+
### -InputObject
114+
Identity Parameter
115+
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
116+
117+
```yaml
118+
Type: IApplicationsIdentity
119+
Parameter Sets: DeleteViaIdentity
120+
Aliases:
121+
122+
Required: True
123+
Position: Named
124+
Default value: None
125+
Accept pipeline input: True (ByValue)
126+
Accept wildcard characters: False
127+
```
128+
129+
### -PassThru
130+
Returns true when the command succeeds
131+
132+
```yaml
133+
Type: SwitchParameter
134+
Parameter Sets: (All)
135+
Aliases:
136+
137+
Required: False
138+
Position: Named
139+
Default value: False
140+
Accept pipeline input: False
141+
Accept wildcard characters: False
142+
```
143+
144+
### -ProgressAction
145+
{{ Fill ProgressAction Description }}
146+
147+
```yaml
148+
Type: ActionPreference
149+
Parameter Sets: (All)
150+
Aliases: proga
151+
152+
Required: False
153+
Position: Named
154+
Default value: None
155+
Accept pipeline input: False
156+
Accept wildcard characters: False
157+
```
158+
159+
### -ResponseHeadersVariable
160+
Optional Response Headers Variable.
161+
162+
```yaml
163+
Type: String
164+
Parameter Sets: (All)
165+
Aliases: RHV
166+
167+
Required: False
168+
Position: Named
169+
Default value: None
170+
Accept pipeline input: False
171+
Accept wildcard characters: False
172+
```
173+
174+
### -Confirm
175+
Prompts you for confirmation before running the cmdlet.
176+
177+
```yaml
178+
Type: SwitchParameter
179+
Parameter Sets: (All)
180+
Aliases: cf
181+
182+
Required: False
183+
Position: Named
184+
Default value: None
185+
Accept pipeline input: False
186+
Accept wildcard characters: False
187+
```
188+
189+
### -WhatIf
190+
Shows what would happen if the cmdlet runs.
191+
The cmdlet is not run.
192+
193+
```yaml
194+
Type: SwitchParameter
195+
Parameter Sets: (All)
196+
Aliases: wi
197+
198+
Required: False
199+
Position: Named
200+
Default value: None
201+
Accept pipeline input: False
202+
Accept wildcard characters: False
203+
```
204+
205+
### CommonParameters
206+
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).
207+
208+
## INPUTS
209+
210+
### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity
211+
### System.Collections.IDictionary
212+
## OUTPUTS
213+
214+
### System.Boolean
215+
## NOTES
216+
COMPLEX PARAMETER PROPERTIES
217+
218+
To create the parameters described below, construct a hash table containing the appropriate properties.
219+
For information on hash tables, run Get-Help about_Hash_Tables.
220+
221+
INPUTOBJECT `<IApplicationsIdentity>`: Identity Parameter
222+
- `[AppId <String>]`: Alternate key of application
223+
- `[AppManagementPolicyId <String>]`: The unique identifier of appManagementPolicy
224+
- `[AppRoleAssignmentId <String>]`: The unique identifier of appRoleAssignment
225+
- `[ApplicationId <String>]`: The unique identifier of application
226+
- `[ApplicationTemplateId <String>]`: The unique identifier of applicationTemplate
227+
- `[ClaimsMappingPolicyId <String>]`: The unique identifier of claimsMappingPolicy
228+
- `[DelegatedPermissionClassificationId <String>]`: The unique identifier of delegatedPermissionClassification
229+
- `[DirectoryDefinitionId <String>]`: The unique identifier of directoryDefinition
230+
- `[DirectoryObjectId <String>]`: The unique identifier of directoryObject
231+
- `[EndpointId <String>]`: The unique identifier of endpoint
232+
- `[ExtensionPropertyId <String>]`: The unique identifier of extensionProperty
233+
- `[FederatedIdentityCredentialId <String>]`: The unique identifier of federatedIdentityCredential
234+
- `[GroupId <String>]`: The unique identifier of group
235+
- `[HomeRealmDiscoveryPolicyId <String>]`: The unique identifier of homeRealmDiscoveryPolicy
236+
- `[Name <String>]`: Alternate key of federatedIdentityCredential
237+
- `[OAuth2PermissionGrantId <String>]`: The unique identifier of oAuth2PermissionGrant
238+
- `[ServicePrincipalId <String>]`: The unique identifier of servicePrincipal
239+
- `[SynchronizationJobId <String>]`: The unique identifier of synchronizationJob
240+
- `[SynchronizationTemplateId <String>]`: The unique identifier of synchronizationTemplate
241+
- `[TargetDeviceGroupId <String>]`: The unique identifier of targetDeviceGroup
242+
- `[TokenIssuancePolicyId <String>]`: The unique identifier of tokenIssuancePolicy
243+
- `[TokenLifetimePolicyId <String>]`: The unique identifier of tokenLifetimePolicy
244+
- `[UniqueName <String>]`: Alternate key of application
245+
- `[UserId <String>]`: The unique identifier of user
246+
247+
## RELATED LINKS
248+
249+
[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef)
250+
251+
[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)
252+
253+
254+
255+
256+
257+
258+
259+
260+
261+
262+
263+
264+
265+
266+
267+
268+
269+
270+
271+
272+
273+
274+

0 commit comments

Comments
 (0)