diff --git a/azure-pipelines/powershell-docs.yml b/azure-pipelines/powershell-docs.yml index f7061fde770b..155e6102acc7 100644 --- a/azure-pipelines/powershell-docs.yml +++ b/azure-pipelines/powershell-docs.yml @@ -129,6 +129,13 @@ extends: targetType: 'filePath' pwsh: true filePath: scripts/RemoveBoilerPlateCode.ps1 + - task: PowerShell@2 + displayName: 'Generate missing docs for aliased cmdlets' + continueOnError: false + inputs: + targetType: 'filePath' + pwsh: true + filePath: scripts/GenerateAliasedDocs.ps1 - task: PowerShell@2 displayName: Pushing to github env: diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationAppManagementPolicyByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationAppManagementPolicyByRef.md new file mode 100644 index 000000000000..c9de50b01434 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationAppManagementPolicyByRef.md @@ -0,0 +1,238 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef +schema: 2.0.0 +--- + +# Remove-MgApplicationAppManagementPolicyByRef + +## SYNOPSIS +Delete ref of navigation property appManagementPolicies for applications + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaApplicationAppManagementPolicyAppManagementPolicyByRef](/powershell/module/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationAppManagementPolicyAppManagementPolicyByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgApplicationAppManagementPolicyByRef -AppManagementPolicyId + -ApplicationId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgApplicationAppManagementPolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property appManagementPolicies for applications + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AppManagementPolicyId +The unique identifier of appManagementPolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationAppManagementPolicyByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationOwnerByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationOwnerByRef.md new file mode 100644 index 000000000000..760dc60f1096 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationOwnerByRef.md @@ -0,0 +1,238 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgApplicationOwnerByRef + +## SYNOPSIS +Delete ref of navigation property owners for applications + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaApplicationOwnerDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationOwnerDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgApplicationOwnerByRef -ApplicationId -DirectoryObjectId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgApplicationOwnerByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property owners for applications + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationOwnerByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationTokenIssuancePolicyByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationTokenIssuancePolicyByRef.md new file mode 100644 index 000000000000..9ae05ebd1a9e --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationTokenIssuancePolicyByRef.md @@ -0,0 +1,239 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationTokenIssuancePolicyByRef +schema: 2.0.0 +--- + +# Remove-MgApplicationTokenIssuancePolicyByRef + +## SYNOPSIS +Delete ref of navigation property tokenIssuancePolicies for applications + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaApplicationTokenIssuancePolicyTokenIssuancePolicyByRef](/powershell/module/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenIssuancePolicyTokenIssuancePolicyByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgApplicationTokenIssuancePolicyByRef -ApplicationId + -TokenIssuancePolicyId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgApplicationTokenIssuancePolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property tokenIssuancePolicies for applications + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TokenIssuancePolicyId +The unique identifier of tokenIssuancePolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationTokenIssuancePolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationTokenIssuancePolicyByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationTokenLifetimePolicyByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationTokenLifetimePolicyByRef.md new file mode 100644 index 000000000000..637380198f9e --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgApplicationTokenLifetimePolicyByRef.md @@ -0,0 +1,239 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationTokenLifetimePolicyByRef +schema: 2.0.0 +--- + +# Remove-MgApplicationTokenLifetimePolicyByRef + +## SYNOPSIS +Delete ref of navigation property tokenLifetimePolicies for applications + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaApplicationTokenLifetimePolicyTokenLifetimePolicyByRef](/powershell/module/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenLifetimePolicyTokenLifetimePolicyByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgApplicationTokenLifetimePolicyByRef -ApplicationId + -TokenLifetimePolicyId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgApplicationTokenLifetimePolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property tokenLifetimePolicies for applications + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TokenLifetimePolicyId +The unique identifier of tokenLifetimePolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationTokenLifetimePolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgApplicationTokenLifetimePolicyByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalClaimMappingPolicyByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalClaimMappingPolicyByRef.md new file mode 100644 index 000000000000..2689b5ae2985 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalClaimMappingPolicyByRef.md @@ -0,0 +1,235 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalClaimMappingPolicyByRef +schema: 2.0.0 +--- + +# Remove-MgServicePrincipalClaimMappingPolicyByRef + +## SYNOPSIS +Delete ref of navigation property claimsMappingPolicies for servicePrincipals + +## SYNTAX + +### Delete (Default) +``` +Remove-MgServicePrincipalClaimMappingPolicyByRef -ClaimsMappingPolicyId + -ServicePrincipalId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgServicePrincipalClaimMappingPolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property claimsMappingPolicies for servicePrincipals + +## PARAMETERS + +### -ClaimsMappingPolicyId +The unique identifier of claimsMappingPolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServicePrincipalId +The unique identifier of servicePrincipal + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalClaimMappingPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalClaimMappingPolicyByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md new file mode 100644 index 000000000000..059bb74afdcf --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -0,0 +1,237 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef +schema: 2.0.0 +--- + +# Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef + +## SYNOPSIS +Delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals + +## SYNTAX + +### Delete (Default) +``` +Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef + -HomeRealmDiscoveryPolicyId -ServicePrincipalId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef + -InputObject [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals + +## PARAMETERS + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -HomeRealmDiscoveryPolicyId +The unique identifier of homeRealmDiscoveryPolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServicePrincipalId +The unique identifier of servicePrincipal + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalOwnerByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalOwnerByRef.md new file mode 100644 index 000000000000..2d88576984ec --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Remove-MgServicePrincipalOwnerByRef.md @@ -0,0 +1,235 @@ +--- +external help file: Microsoft.Graph.Applications-help.xml +Module Name: Microsoft.Graph.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgServicePrincipalOwnerByRef + +## SYNOPSIS +Delete ref of navigation property owners for servicePrincipals + +## SYNTAX + +### Delete (Default) +``` +Remove-MgServicePrincipalOwnerByRef -DirectoryObjectId -ServicePrincipalId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgServicePrincipalOwnerByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property owners for servicePrincipals + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServicePrincipalId +The unique identifier of servicePrincipal + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/Remove-MgServicePrincipalOwnerByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassAssignmentCategoryByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassAssignmentCategoryByRef.md new file mode 100644 index 000000000000..0750d6ff343e --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassAssignmentCategoryByRef.md @@ -0,0 +1,247 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassAssignmentCategoryByRef +schema: 2.0.0 +--- + +# Remove-MgEducationClassAssignmentCategoryByRef + +## SYNOPSIS +Remove an educationCategory from an educationAssignment. +Only teachers can perform this operation. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationClassAssignmentCategoryEducationCategoryByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassAssignmentCategoryEducationCategoryByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationClassAssignmentCategoryByRef -EducationAssignmentId + -EducationCategoryId -EducationClassId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationClassAssignmentCategoryByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an educationCategory from an educationAssignment. +Only teachers can perform this operation. + +## PARAMETERS + +### -EducationAssignmentId +The unique identifier of educationAssignment + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationCategoryId +The unique identifier of educationCategory + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassAssignmentCategoryByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassAssignmentCategoryByRef) + +[https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/educationassignment-remove-category?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassMemberByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassMemberByRef.md new file mode 100644 index 000000000000..101a5ec690e5 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassMemberByRef.md @@ -0,0 +1,229 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassMemberByRef +schema: 2.0.0 +--- + +# Remove-MgEducationClassMemberByRef + +## SYNOPSIS +Remove an educationUser from an educationClass. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationClassMemberEducationUserByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassMemberEducationUserByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationClassMemberByRef -EducationClassId -EducationUserId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationClassMemberByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an educationUser from an educationClass. + +## PARAMETERS + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassMemberByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassMemberByRef) + +[https://learn.microsoft.com/graph/api/educationclass-delete-members?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/educationclass-delete-members?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassTeacherByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassTeacherByRef.md new file mode 100644 index 000000000000..e6a70b7c0cdd --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationClassTeacherByRef.md @@ -0,0 +1,230 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassTeacherByRef +schema: 2.0.0 +--- + +# Remove-MgEducationClassTeacherByRef + +## SYNOPSIS +Remove a teacher from an educationClass. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationClassTeacherEducationUserByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassTeacherEducationUserByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationClassTeacherByRef -EducationClassId -EducationUserId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationClassTeacherByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a teacher from an educationClass. + +## PARAMETERS + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassTeacherByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationClassTeacherByRef) + +[https://learn.microsoft.com/graph/api/educationclass-delete-teachers?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/educationclass-delete-teachers?view=graph-rest-1.0) + + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationMeAssignmentCategoryByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationMeAssignmentCategoryByRef.md new file mode 100644 index 000000000000..a462ff46d802 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationMeAssignmentCategoryByRef.md @@ -0,0 +1,227 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationMeAssignmentCategoryByRef +schema: 2.0.0 +--- + +# Remove-MgEducationMeAssignmentCategoryByRef + +## SYNOPSIS +Delete ref of navigation property categories for education + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationMeAssignmentCategoryEducationCategoryByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationMeAssignmentCategoryEducationCategoryByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationMeAssignmentCategoryByRef -EducationAssignmentId + -EducationCategoryId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationMeAssignmentCategoryByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property categories for education + +## PARAMETERS + +### -EducationAssignmentId +The unique identifier of educationAssignment + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationCategoryId +The unique identifier of educationCategory + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationMeAssignmentCategoryByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationMeAssignmentCategoryByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationSchoolClassByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationSchoolClassByRef.md new file mode 100644 index 000000000000..4193def80dcb --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationSchoolClassByRef.md @@ -0,0 +1,230 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationSchoolClassByRef +schema: 2.0.0 +--- + +# Remove-MgEducationSchoolClassByRef + +## SYNOPSIS +Delete a class from a school. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationSchoolClassEducationClassByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolClassEducationClassByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationSchoolClassByRef -EducationClassId -EducationSchoolId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationSchoolClassByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete a class from a school. + +## PARAMETERS + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationSchoolId +The unique identifier of educationSchool + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationSchoolClassByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationSchoolClassByRef) + +[https://learn.microsoft.com/graph/api/educationschool-delete-classes?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/educationschool-delete-classes?view=graph-rest-1.0) + + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationSchoolUserByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationSchoolUserByRef.md new file mode 100644 index 000000000000..137f78f4d3a1 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationSchoolUserByRef.md @@ -0,0 +1,229 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationSchoolUserByRef +schema: 2.0.0 +--- + +# Remove-MgEducationSchoolUserByRef + +## SYNOPSIS +Delete a user from a school. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationSchoolUserEducationUserByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolUserEducationUserByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationSchoolUserByRef -EducationSchoolId -EducationUserId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationSchoolUserByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete a user from a school. + +## PARAMETERS + +### -EducationSchoolId +The unique identifier of educationSchool + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationSchoolUserByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationSchoolUserByRef) + +[https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationUserAssignmentCategoryByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationUserAssignmentCategoryByRef.md new file mode 100644 index 000000000000..92e620b94a59 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Education/Remove-MgEducationUserAssignmentCategoryByRef.md @@ -0,0 +1,243 @@ +--- +external help file: Microsoft.Graph.Education-help.xml +Module Name: Microsoft.Graph.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationUserAssignmentCategoryByRef +schema: 2.0.0 +--- + +# Remove-MgEducationUserAssignmentCategoryByRef + +## SYNOPSIS +Delete ref of navigation property categories for education + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEducationUserAssignmentCategoryEducationCategoryByRef](/powershell/module/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationUserAssignmentCategoryEducationCategoryByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEducationUserAssignmentCategoryByRef -EducationAssignmentId + -EducationCategoryId -EducationUserId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEducationUserAssignmentCategoryByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property categories for education + +## PARAMETERS + +### -EducationAssignmentId +The unique identifier of educationAssignment + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationCategoryId +The unique identifier of educationCategory + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationUserAssignmentCategoryByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.education/Remove-MgEducationUserAssignmentCategoryByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupAcceptedSenderByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupAcceptedSenderByRef.md new file mode 100644 index 000000000000..5e05120bde4d --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupAcceptedSenderByRef.md @@ -0,0 +1,258 @@ +--- +external help file: Microsoft.Graph.Groups-help.xml +Module Name: Microsoft.Graph.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupAcceptedSenderByRef +schema: 2.0.0 +--- + +# Remove-MgGroupAcceptedSenderByRef + +## SYNOPSIS +Remove acceptedSender + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaGroupAcceptedSenderDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupAcceptedSenderDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgGroupAcceptedSenderByRef -DirectoryObjectId -GroupId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgGroupAcceptedSenderByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove acceptedSender + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[GroupSettingId ]`: The unique identifier of groupSetting + - `[GroupSettingTemplateId ]`: The unique identifier of groupSettingTemplate + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupAcceptedSenderByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupAcceptedSenderByRef) + +[https://learn.microsoft.com/graph/api/group-delete-acceptedsenders?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/group-delete-acceptedsenders?view=graph-rest-1.0) + + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupMemberByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupMemberByRef.md new file mode 100644 index 000000000000..63402004b42e --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupMemberByRef.md @@ -0,0 +1,259 @@ +--- +external help file: Microsoft.Graph.Groups-help.xml +Module Name: Microsoft.Graph.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupMemberByRef +schema: 2.0.0 +--- + +# Remove-MgGroupMemberByRef + +## SYNOPSIS +Remove a member from a group via the members navigation property. +You can't remove a member from groups with dynamic memberships. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaGroupMemberDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupMemberDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgGroupMemberByRef -DirectoryObjectId -GroupId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgGroupMemberByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a member from a group via the members navigation property. +You can't remove a member from groups with dynamic memberships. + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[GroupSettingId ]`: The unique identifier of groupSetting + - `[GroupSettingTemplateId ]`: The unique identifier of groupSettingTemplate + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupMemberByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupMemberByRef) + +[https://learn.microsoft.com/graph/api/group-delete-members?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/group-delete-members?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupOwnerByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupOwnerByRef.md new file mode 100644 index 000000000000..a64518291464 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupOwnerByRef.md @@ -0,0 +1,259 @@ +--- +external help file: Microsoft.Graph.Groups-help.xml +Module Name: Microsoft.Graph.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgGroupOwnerByRef + +## SYNOPSIS +Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. +Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaGroupOwnerDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupOwnerDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgGroupOwnerByRef -DirectoryObjectId -GroupId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgGroupOwnerByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. +Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[GroupSettingId ]`: The unique identifier of groupSetting + - `[GroupSettingTemplateId ]`: The unique identifier of groupSettingTemplate + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupOwnerByRef) + +[https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupRejectedSenderByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupRejectedSenderByRef.md new file mode 100644 index 000000000000..42c440dcf0ed --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Groups/Remove-MgGroupRejectedSenderByRef.md @@ -0,0 +1,258 @@ +--- +external help file: Microsoft.Graph.Groups-help.xml +Module Name: Microsoft.Graph.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupRejectedSenderByRef +schema: 2.0.0 +--- + +# Remove-MgGroupRejectedSenderByRef + +## SYNOPSIS +Remove rejectedSender + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaGroupRejectedSenderDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupRejectedSenderDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgGroupRejectedSenderByRef -DirectoryObjectId -GroupId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgGroupRejectedSenderByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove rejectedSender + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[GroupSettingId ]`: The unique identifier of groupSetting + - `[GroupSettingTemplateId ]`: The unique identifier of groupSettingTemplate + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupRejectedSenderByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.groups/Remove-MgGroupRejectedSenderByRef) + +[https://learn.microsoft.com/graph/api/group-delete-rejectedsenders?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/group-delete-rejectedsenders?view=graph-rest-1.0) + + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDeviceRegisteredOwnerByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDeviceRegisteredOwnerByRef.md new file mode 100644 index 000000000000..f351521f0b42 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDeviceRegisteredOwnerByRef.md @@ -0,0 +1,239 @@ +--- +external help file: Microsoft.Graph.Identity.DirectoryManagement-help.xml +Module Name: Microsoft.Graph.Identity.DirectoryManagement +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDeviceRegisteredOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgDeviceRegisteredOwnerByRef + +## SYNOPSIS +Remove a user as a registered owner of the device. + +## SYNTAX + +### Delete (Default) +``` +Remove-MgDeviceRegisteredOwnerByRef -DeviceId -DirectoryObjectId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgDeviceRegisteredOwnerByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a user as a registered owner of the device. + +## PARAMETERS + +### -DeviceId +The unique identifier of device + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityDirectoryManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentityDirectoryManagementIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AdministrativeUnitId ]`: The unique identifier of administrativeUnit + - `[AllowedValueId ]`: The unique identifier of allowedValue + - `[AttributeSetId ]`: The unique identifier of attributeSet + - `[CommerceSubscriptionId ]`: Alternate key of companySubscription + - `[CompanySubscriptionId ]`: The unique identifier of companySubscription + - `[ContractId ]`: The unique identifier of contract + - `[CustomSecurityAttributeDefinitionId ]`: The unique identifier of customSecurityAttributeDefinition + - `[DeviceId ]`: The unique identifier of device + - `[DeviceLocalCredentialInfoId ]`: The unique identifier of deviceLocalCredentialInfo + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectoryRoleId ]`: The unique identifier of directoryRole + - `[DirectoryRoleTemplateId ]`: The unique identifier of directoryRoleTemplate + - `[DomainDnsRecordId ]`: The unique identifier of domainDnsRecord + - `[DomainId ]`: The unique identifier of domain + - `[ExtensionId ]`: The unique identifier of extension + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[InternalDomainFederationId ]`: The unique identifier of internalDomainFederation + - `[OnPremisesDirectorySynchronizationId ]`: The unique identifier of onPremisesDirectorySynchronization + - `[OrgContactId ]`: The unique identifier of orgContact + - `[OrganizationId ]`: The unique identifier of organization + - `[OrganizationalBrandingLocalizationId ]`: The unique identifier of organizationalBrandingLocalization + - `[ProfileCardPropertyId ]`: The unique identifier of profileCardProperty + - `[RoleTemplateId ]`: Alternate key of directoryRole + - `[ScopedRoleMembershipId ]`: The unique identifier of scopedRoleMembership + - `[SubscribedSkuId ]`: The unique identifier of subscribedSku + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDeviceRegisteredOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDeviceRegisteredOwnerByRef) + +[https://learn.microsoft.com/graph/api/device-delete-registeredowners?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/device-delete-registeredowners?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDeviceRegisteredUserByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDeviceRegisteredUserByRef.md new file mode 100644 index 000000000000..4607ffc6b21a --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDeviceRegisteredUserByRef.md @@ -0,0 +1,239 @@ +--- +external help file: Microsoft.Graph.Identity.DirectoryManagement-help.xml +Module Name: Microsoft.Graph.Identity.DirectoryManagement +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDeviceRegisteredUserByRef +schema: 2.0.0 +--- + +# Remove-MgDeviceRegisteredUserByRef + +## SYNOPSIS +Remove a user as a registered user of the device. + +## SYNTAX + +### Delete (Default) +``` +Remove-MgDeviceRegisteredUserByRef -DeviceId -DirectoryObjectId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgDeviceRegisteredUserByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a user as a registered user of the device. + +## PARAMETERS + +### -DeviceId +The unique identifier of device + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityDirectoryManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentityDirectoryManagementIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AdministrativeUnitId ]`: The unique identifier of administrativeUnit + - `[AllowedValueId ]`: The unique identifier of allowedValue + - `[AttributeSetId ]`: The unique identifier of attributeSet + - `[CommerceSubscriptionId ]`: Alternate key of companySubscription + - `[CompanySubscriptionId ]`: The unique identifier of companySubscription + - `[ContractId ]`: The unique identifier of contract + - `[CustomSecurityAttributeDefinitionId ]`: The unique identifier of customSecurityAttributeDefinition + - `[DeviceId ]`: The unique identifier of device + - `[DeviceLocalCredentialInfoId ]`: The unique identifier of deviceLocalCredentialInfo + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectoryRoleId ]`: The unique identifier of directoryRole + - `[DirectoryRoleTemplateId ]`: The unique identifier of directoryRoleTemplate + - `[DomainDnsRecordId ]`: The unique identifier of domainDnsRecord + - `[DomainId ]`: The unique identifier of domain + - `[ExtensionId ]`: The unique identifier of extension + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[InternalDomainFederationId ]`: The unique identifier of internalDomainFederation + - `[OnPremisesDirectorySynchronizationId ]`: The unique identifier of onPremisesDirectorySynchronization + - `[OrgContactId ]`: The unique identifier of orgContact + - `[OrganizationId ]`: The unique identifier of organization + - `[OrganizationalBrandingLocalizationId ]`: The unique identifier of organizationalBrandingLocalization + - `[ProfileCardPropertyId ]`: The unique identifier of profileCardProperty + - `[RoleTemplateId ]`: Alternate key of directoryRole + - `[ScopedRoleMembershipId ]`: The unique identifier of scopedRoleMembership + - `[SubscribedSkuId ]`: The unique identifier of subscribedSku + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDeviceRegisteredUserByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDeviceRegisteredUserByRef) + +[https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDirectoryAdministrativeUnitMemberByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDirectoryAdministrativeUnitMemberByRef.md new file mode 100644 index 000000000000..2e0f8b727368 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDirectoryAdministrativeUnitMemberByRef.md @@ -0,0 +1,240 @@ +--- +external help file: Microsoft.Graph.Identity.DirectoryManagement-help.xml +Module Name: Microsoft.Graph.Identity.DirectoryManagement +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDirectoryAdministrativeUnitMemberByRef +schema: 2.0.0 +--- + +# Remove-MgDirectoryAdministrativeUnitMemberByRef + +## SYNOPSIS +Use this API to remove a member (user, group, or device) from an administrative unit. + +## SYNTAX + +### Delete (Default) +``` +Remove-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId + -DirectoryObjectId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgDirectoryAdministrativeUnitMemberByRef + -InputObject [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Use this API to remove a member (user, group, or device) from an administrative unit. + +## PARAMETERS + +### -AdministrativeUnitId +The unique identifier of administrativeUnit + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityDirectoryManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentityDirectoryManagementIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AdministrativeUnitId ]`: The unique identifier of administrativeUnit + - `[AllowedValueId ]`: The unique identifier of allowedValue + - `[AttributeSetId ]`: The unique identifier of attributeSet + - `[CommerceSubscriptionId ]`: Alternate key of companySubscription + - `[CompanySubscriptionId ]`: The unique identifier of companySubscription + - `[ContractId ]`: The unique identifier of contract + - `[CustomSecurityAttributeDefinitionId ]`: The unique identifier of customSecurityAttributeDefinition + - `[DeviceId ]`: The unique identifier of device + - `[DeviceLocalCredentialInfoId ]`: The unique identifier of deviceLocalCredentialInfo + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectoryRoleId ]`: The unique identifier of directoryRole + - `[DirectoryRoleTemplateId ]`: The unique identifier of directoryRoleTemplate + - `[DomainDnsRecordId ]`: The unique identifier of domainDnsRecord + - `[DomainId ]`: The unique identifier of domain + - `[ExtensionId ]`: The unique identifier of extension + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[InternalDomainFederationId ]`: The unique identifier of internalDomainFederation + - `[OnPremisesDirectorySynchronizationId ]`: The unique identifier of onPremisesDirectorySynchronization + - `[OrgContactId ]`: The unique identifier of orgContact + - `[OrganizationId ]`: The unique identifier of organization + - `[OrganizationalBrandingLocalizationId ]`: The unique identifier of organizationalBrandingLocalization + - `[ProfileCardPropertyId ]`: The unique identifier of profileCardProperty + - `[RoleTemplateId ]`: Alternate key of directoryRole + - `[ScopedRoleMembershipId ]`: The unique identifier of scopedRoleMembership + - `[SubscribedSkuId ]`: The unique identifier of subscribedSku + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDirectoryAdministrativeUnitMemberByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDirectoryAdministrativeUnitMemberByRef) + +[https://learn.microsoft.com/graph/api/administrativeunit-delete-members?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/administrativeunit-delete-members?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDirectoryRoleMemberByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDirectoryRoleMemberByRef.md new file mode 100644 index 000000000000..8842ed9bd83b --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.DirectoryManagement/Remove-MgDirectoryRoleMemberByRef.md @@ -0,0 +1,245 @@ +--- +external help file: Microsoft.Graph.Identity.DirectoryManagement-help.xml +Module Name: Microsoft.Graph.Identity.DirectoryManagement +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDirectoryRoleMemberByRef +schema: 2.0.0 +--- + +# Remove-MgDirectoryRoleMemberByRef + +## SYNOPSIS +Remove a member from a directoryRole. +You can use both the object ID and template ID of the directoryRole with this API. +The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. +For details, see Role template IDs. + +## SYNTAX + +### Delete (Default) +``` +Remove-MgDirectoryRoleMemberByRef -DirectoryObjectId -DirectoryRoleId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgDirectoryRoleMemberByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a member from a directoryRole. +You can use both the object ID and template ID of the directoryRole with this API. +The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. +For details, see Role template IDs. + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryRoleId +The unique identifier of directoryRole + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityDirectoryManagementIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentityDirectoryManagementIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AdministrativeUnitId ]`: The unique identifier of administrativeUnit + - `[AllowedValueId ]`: The unique identifier of allowedValue + - `[AttributeSetId ]`: The unique identifier of attributeSet + - `[CommerceSubscriptionId ]`: Alternate key of companySubscription + - `[CompanySubscriptionId ]`: The unique identifier of companySubscription + - `[ContractId ]`: The unique identifier of contract + - `[CustomSecurityAttributeDefinitionId ]`: The unique identifier of customSecurityAttributeDefinition + - `[DeviceId ]`: The unique identifier of device + - `[DeviceLocalCredentialInfoId ]`: The unique identifier of deviceLocalCredentialInfo + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectoryRoleId ]`: The unique identifier of directoryRole + - `[DirectoryRoleTemplateId ]`: The unique identifier of directoryRoleTemplate + - `[DomainDnsRecordId ]`: The unique identifier of domainDnsRecord + - `[DomainId ]`: The unique identifier of domain + - `[ExtensionId ]`: The unique identifier of extension + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[InternalDomainFederationId ]`: The unique identifier of internalDomainFederation + - `[OnPremisesDirectorySynchronizationId ]`: The unique identifier of onPremisesDirectorySynchronization + - `[OrgContactId ]`: The unique identifier of orgContact + - `[OrganizationId ]`: The unique identifier of organization + - `[OrganizationalBrandingLocalizationId ]`: The unique identifier of organizationalBrandingLocalization + - `[ProfileCardPropertyId ]`: The unique identifier of profileCardProperty + - `[RoleTemplateId ]`: Alternate key of directoryRole + - `[ScopedRoleMembershipId ]`: The unique identifier of scopedRoleMembership + - `[SubscribedSkuId ]`: The unique identifier of subscribedSku + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDirectoryRoleMemberByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.directorymanagement/Remove-MgDirectoryRoleMemberByRef) + +[https://learn.microsoft.com/graph/api/directoryrole-delete-member?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/directoryrole-delete-member?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md new file mode 100644 index 000000000000..25da47e41a8b --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -0,0 +1,287 @@ +--- +external help file: Microsoft.Graph.Identity.Governance-help.xml +Module Name: Microsoft.Graph.Identity.Governance +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef +schema: 2.0.0 +--- + +# Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef + +## SYNOPSIS +Remove a user or a group from the connected organization's external sponsors. +The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef + -ConnectedOrganizationId -DirectoryObjectId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef + -InputObject [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Remove a user or a group from the connected organization's external sponsors. +The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +## PARAMETERS + +### -ConnectedOrganizationId +The unique identifier of connectedOrganization + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityGovernanceIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentityGovernanceIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AccessPackageAssignmentId ]`: The unique identifier of accessPackageAssignment + - `[AccessPackageAssignmentPolicyId ]`: The unique identifier of accessPackageAssignmentPolicy + - `[AccessPackageAssignmentRequestId ]`: The unique identifier of accessPackageAssignmentRequest + - `[AccessPackageCatalogId ]`: The unique identifier of accessPackageCatalog + - `[AccessPackageId ]`: The unique identifier of accessPackage + - `[AccessPackageId1 ]`: The unique identifier of accessPackage + - `[AccessPackageQuestionId ]`: The unique identifier of accessPackageQuestion + - `[AccessPackageResourceEnvironmentId ]`: The unique identifier of accessPackageResourceEnvironment + - `[AccessPackageResourceId ]`: The unique identifier of accessPackageResource + - `[AccessPackageResourceRequestId ]`: The unique identifier of accessPackageResourceRequest + - `[AccessPackageResourceRoleId ]`: The unique identifier of accessPackageResourceRole + - `[AccessPackageResourceRoleId1 ]`: The unique identifier of accessPackageResourceRole + - `[AccessPackageResourceRoleScopeId ]`: The unique identifier of accessPackageResourceRoleScope + - `[AccessPackageResourceScopeId ]`: The unique identifier of accessPackageResourceScope + - `[AccessPackageResourceScopeId1 ]`: The unique identifier of accessPackageResourceScope + - `[AccessReviewHistoryDefinitionId ]`: The unique identifier of accessReviewHistoryDefinition + - `[AccessReviewHistoryInstanceId ]`: The unique identifier of accessReviewHistoryInstance + - `[AccessReviewInstanceDecisionItemId ]`: The unique identifier of accessReviewInstanceDecisionItem + - `[AccessReviewInstanceId ]`: The unique identifier of accessReviewInstance + - `[AccessReviewReviewerId ]`: The unique identifier of accessReviewReviewer + - `[AccessReviewScheduleDefinitionId ]`: The unique identifier of accessReviewScheduleDefinition + - `[AccessReviewStageId ]`: The unique identifier of accessReviewStage + - `[AgreementAcceptanceId ]`: The unique identifier of agreementAcceptance + - `[AgreementFileLocalizationId ]`: The unique identifier of agreementFileLocalization + - `[AgreementFileVersionId ]`: The unique identifier of agreementFileVersion + - `[AgreementId ]`: The unique identifier of agreement + - `[AppConsentRequestId ]`: The unique identifier of appConsentRequest + - `[ApprovalId ]`: The unique identifier of approval + - `[ApprovalStageId ]`: The unique identifier of approvalStage + - `[ConnectedOrganizationId ]`: The unique identifier of connectedOrganization + - `[CustomCalloutExtensionId ]`: The unique identifier of customCalloutExtension + - `[CustomExtensionStageSettingId ]`: The unique identifier of customExtensionStageSetting + - `[CustomTaskExtensionId ]`: The unique identifier of customTaskExtension + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndDateTime ]`: Usage: endDateTime={endDateTime} + - `[GovernanceInsightId ]`: The unique identifier of governanceInsight + - `[IncompatibleAccessPackageId ]`: Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}' + - `[On ]`: Usage: on='{on}' + - `[PrivilegedAccessGroupAssignmentScheduleId ]`: The unique identifier of privilegedAccessGroupAssignmentSchedule + - `[PrivilegedAccessGroupAssignmentScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleInstance + - `[PrivilegedAccessGroupAssignmentScheduleRequestId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleRequest + - `[PrivilegedAccessGroupEligibilityScheduleId ]`: The unique identifier of privilegedAccessGroupEligibilitySchedule + - `[PrivilegedAccessGroupEligibilityScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleInstance + - `[PrivilegedAccessGroupEligibilityScheduleRequestId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleRequest + - `[RunId ]`: The unique identifier of run + - `[StartDateTime ]`: Usage: startDateTime={startDateTime} + - `[TaskDefinitionId ]`: The unique identifier of taskDefinition + - `[TaskId ]`: The unique identifier of task + - `[TaskProcessingResultId ]`: The unique identifier of taskProcessingResult + - `[TaskReportId ]`: The unique identifier of taskReport + - `[UnifiedRbacResourceActionId ]`: The unique identifier of unifiedRbacResourceAction + - `[UnifiedRbacResourceNamespaceId ]`: The unique identifier of unifiedRbacResourceNamespace + - `[UnifiedRoleAssignmentId ]`: The unique identifier of unifiedRoleAssignment + - `[UnifiedRoleAssignmentScheduleId ]`: The unique identifier of unifiedRoleAssignmentSchedule + - `[UnifiedRoleAssignmentScheduleInstanceId ]`: The unique identifier of unifiedRoleAssignmentScheduleInstance + - `[UnifiedRoleAssignmentScheduleRequestId ]`: The unique identifier of unifiedRoleAssignmentScheduleRequest + - `[UnifiedRoleDefinitionId ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleDefinitionId1 ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleEligibilityScheduleId ]`: The unique identifier of unifiedRoleEligibilitySchedule + - `[UnifiedRoleEligibilityScheduleInstanceId ]`: The unique identifier of unifiedRoleEligibilityScheduleInstance + - `[UnifiedRoleEligibilityScheduleRequestId ]`: The unique identifier of unifiedRoleEligibilityScheduleRequest + - `[UserConsentRequestId ]`: The unique identifier of userConsentRequest + - `[UserId ]`: The unique identifier of user + - `[UserProcessingResultId ]`: The unique identifier of userProcessingResult + - `[WorkflowId ]`: The unique identifier of workflow + - `[WorkflowTemplateId ]`: The unique identifier of workflowTemplate + - `[WorkflowVersionNumber ]`: The unique identifier of workflowVersion + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef) + +[https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md new file mode 100644 index 000000000000..495238520b03 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -0,0 +1,287 @@ +--- +external help file: Microsoft.Graph.Identity.Governance-help.xml +Module Name: Microsoft.Graph.Identity.Governance +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef +schema: 2.0.0 +--- + +# Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef + +## SYNOPSIS +Remove a user or a group from the connected organization's internal sponsors. +The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef + -ConnectedOrganizationId -DirectoryObjectId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef + -InputObject [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Remove a user or a group from the connected organization's internal sponsors. +The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +## PARAMETERS + +### -ConnectedOrganizationId +The unique identifier of connectedOrganization + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityGovernanceIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentityGovernanceIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AccessPackageAssignmentId ]`: The unique identifier of accessPackageAssignment + - `[AccessPackageAssignmentPolicyId ]`: The unique identifier of accessPackageAssignmentPolicy + - `[AccessPackageAssignmentRequestId ]`: The unique identifier of accessPackageAssignmentRequest + - `[AccessPackageCatalogId ]`: The unique identifier of accessPackageCatalog + - `[AccessPackageId ]`: The unique identifier of accessPackage + - `[AccessPackageId1 ]`: The unique identifier of accessPackage + - `[AccessPackageQuestionId ]`: The unique identifier of accessPackageQuestion + - `[AccessPackageResourceEnvironmentId ]`: The unique identifier of accessPackageResourceEnvironment + - `[AccessPackageResourceId ]`: The unique identifier of accessPackageResource + - `[AccessPackageResourceRequestId ]`: The unique identifier of accessPackageResourceRequest + - `[AccessPackageResourceRoleId ]`: The unique identifier of accessPackageResourceRole + - `[AccessPackageResourceRoleId1 ]`: The unique identifier of accessPackageResourceRole + - `[AccessPackageResourceRoleScopeId ]`: The unique identifier of accessPackageResourceRoleScope + - `[AccessPackageResourceScopeId ]`: The unique identifier of accessPackageResourceScope + - `[AccessPackageResourceScopeId1 ]`: The unique identifier of accessPackageResourceScope + - `[AccessReviewHistoryDefinitionId ]`: The unique identifier of accessReviewHistoryDefinition + - `[AccessReviewHistoryInstanceId ]`: The unique identifier of accessReviewHistoryInstance + - `[AccessReviewInstanceDecisionItemId ]`: The unique identifier of accessReviewInstanceDecisionItem + - `[AccessReviewInstanceId ]`: The unique identifier of accessReviewInstance + - `[AccessReviewReviewerId ]`: The unique identifier of accessReviewReviewer + - `[AccessReviewScheduleDefinitionId ]`: The unique identifier of accessReviewScheduleDefinition + - `[AccessReviewStageId ]`: The unique identifier of accessReviewStage + - `[AgreementAcceptanceId ]`: The unique identifier of agreementAcceptance + - `[AgreementFileLocalizationId ]`: The unique identifier of agreementFileLocalization + - `[AgreementFileVersionId ]`: The unique identifier of agreementFileVersion + - `[AgreementId ]`: The unique identifier of agreement + - `[AppConsentRequestId ]`: The unique identifier of appConsentRequest + - `[ApprovalId ]`: The unique identifier of approval + - `[ApprovalStageId ]`: The unique identifier of approvalStage + - `[ConnectedOrganizationId ]`: The unique identifier of connectedOrganization + - `[CustomCalloutExtensionId ]`: The unique identifier of customCalloutExtension + - `[CustomExtensionStageSettingId ]`: The unique identifier of customExtensionStageSetting + - `[CustomTaskExtensionId ]`: The unique identifier of customTaskExtension + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndDateTime ]`: Usage: endDateTime={endDateTime} + - `[GovernanceInsightId ]`: The unique identifier of governanceInsight + - `[IncompatibleAccessPackageId ]`: Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}' + - `[On ]`: Usage: on='{on}' + - `[PrivilegedAccessGroupAssignmentScheduleId ]`: The unique identifier of privilegedAccessGroupAssignmentSchedule + - `[PrivilegedAccessGroupAssignmentScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleInstance + - `[PrivilegedAccessGroupAssignmentScheduleRequestId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleRequest + - `[PrivilegedAccessGroupEligibilityScheduleId ]`: The unique identifier of privilegedAccessGroupEligibilitySchedule + - `[PrivilegedAccessGroupEligibilityScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleInstance + - `[PrivilegedAccessGroupEligibilityScheduleRequestId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleRequest + - `[RunId ]`: The unique identifier of run + - `[StartDateTime ]`: Usage: startDateTime={startDateTime} + - `[TaskDefinitionId ]`: The unique identifier of taskDefinition + - `[TaskId ]`: The unique identifier of task + - `[TaskProcessingResultId ]`: The unique identifier of taskProcessingResult + - `[TaskReportId ]`: The unique identifier of taskReport + - `[UnifiedRbacResourceActionId ]`: The unique identifier of unifiedRbacResourceAction + - `[UnifiedRbacResourceNamespaceId ]`: The unique identifier of unifiedRbacResourceNamespace + - `[UnifiedRoleAssignmentId ]`: The unique identifier of unifiedRoleAssignment + - `[UnifiedRoleAssignmentScheduleId ]`: The unique identifier of unifiedRoleAssignmentSchedule + - `[UnifiedRoleAssignmentScheduleInstanceId ]`: The unique identifier of unifiedRoleAssignmentScheduleInstance + - `[UnifiedRoleAssignmentScheduleRequestId ]`: The unique identifier of unifiedRoleAssignmentScheduleRequest + - `[UnifiedRoleDefinitionId ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleDefinitionId1 ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleEligibilityScheduleId ]`: The unique identifier of unifiedRoleEligibilitySchedule + - `[UnifiedRoleEligibilityScheduleInstanceId ]`: The unique identifier of unifiedRoleEligibilityScheduleInstance + - `[UnifiedRoleEligibilityScheduleRequestId ]`: The unique identifier of unifiedRoleEligibilityScheduleRequest + - `[UserConsentRequestId ]`: The unique identifier of userConsentRequest + - `[UserId ]`: The unique identifier of user + - `[UserProcessingResultId ]`: The unique identifier of userProcessingResult + - `[WorkflowId ]`: The unique identifier of workflow + - `[WorkflowTemplateId ]`: The unique identifier of workflowTemplate + - `[WorkflowVersionNumber ]`: The unique identifier of workflowVersion + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef) + +[https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-1.0) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityB2XUserFlowIdentityProviderByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityB2XUserFlowIdentityProviderByRef.md new file mode 100644 index 000000000000..fa3111ff143f --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityB2XUserFlowIdentityProviderByRef.md @@ -0,0 +1,273 @@ +--- +external help file: Microsoft.Graph.Identity.SignIns-help.xml +Module Name: Microsoft.Graph.Identity.SignIns +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.signins/Remove-MgIdentityB2XUserFlowIdentityProviderByRef +schema: 2.0.0 +--- + +# Remove-MgIdentityB2XUserFlowIdentityProviderByRef + +## SYNOPSIS +Delete ref of navigation property userFlowIdentityProviders for identity + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaIdentityB2XUserFlowIdentityProviderBaseByRef](/powershell/module/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaIdentityB2XUserFlowIdentityProviderBaseByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgIdentityB2XUserFlowIdentityProviderByRef -B2XIdentityUserFlowId + -IdentityProviderBaseId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgIdentityB2XUserFlowIdentityProviderByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property userFlowIdentityProviders for identity + +## PARAMETERS + +### -B2XIdentityUserFlowId +The unique identifier of b2xIdentityUserFlow + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IdentityProviderBaseId +The unique identifier of identityProviderBase + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentitySignInsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentitySignInsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[ActivityBasedTimeoutPolicyId ]`: The unique identifier of activityBasedTimeoutPolicy + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AuthenticationCombinationConfigurationId ]`: The unique identifier of authenticationCombinationConfiguration + - `[AuthenticationContextClassReferenceId ]`: The unique identifier of authenticationContextClassReference + - `[AuthenticationEventListenerId ]`: The unique identifier of authenticationEventListener + - `[AuthenticationMethodConfigurationId ]`: The unique identifier of authenticationMethodConfiguration + - `[AuthenticationMethodId ]`: The unique identifier of authenticationMethod + - `[AuthenticationMethodModeDetailId ]`: The unique identifier of authenticationMethodModeDetail + - `[AuthenticationStrengthPolicyId ]`: The unique identifier of authenticationStrengthPolicy + - `[B2XIdentityUserFlowId ]`: The unique identifier of b2xIdentityUserFlow + - `[BitlockerRecoveryKeyId ]`: The unique identifier of bitlockerRecoveryKey + - `[CertificateBasedAuthConfigurationId ]`: The unique identifier of certificateBasedAuthConfiguration + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConditionalAccessPolicyId ]`: The unique identifier of conditionalAccessPolicy + - `[ConditionalAccessTemplateId ]`: The unique identifier of conditionalAccessTemplate + - `[CrossTenantAccessPolicyConfigurationPartnerTenantId ]`: The unique identifier of crossTenantAccessPolicyConfigurationPartner + - `[CustomAuthenticationExtensionId ]`: The unique identifier of customAuthenticationExtension + - `[DataPolicyOperationId ]`: The unique identifier of dataPolicyOperation + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EmailAuthenticationMethodId ]`: The unique identifier of emailAuthenticationMethod + - `[FeatureRolloutPolicyId ]`: The unique identifier of featureRolloutPolicy + - `[Fido2AuthenticationMethodId ]`: The unique identifier of fido2AuthenticationMethod + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IdentityApiConnectorId ]`: The unique identifier of identityApiConnector + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[IdentityProviderId ]`: The unique identifier of identityProvider + - `[IdentityUserFlowAttributeAssignmentId ]`: The unique identifier of identityUserFlowAttributeAssignment + - `[IdentityUserFlowAttributeId ]`: The unique identifier of identityUserFlowAttribute + - `[InvitationId ]`: The unique identifier of invitation + - `[LongRunningOperationId ]`: The unique identifier of longRunningOperation + - `[MicrosoftAuthenticatorAuthenticationMethodId ]`: The unique identifier of microsoftAuthenticatorAuthenticationMethod + - `[MultiTenantOrganizationMemberId ]`: The unique identifier of multiTenantOrganizationMember + - `[NamedLocationId ]`: The unique identifier of namedLocation + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OrganizationId ]`: The unique identifier of organization + - `[PasswordAuthenticationMethodId ]`: The unique identifier of passwordAuthenticationMethod + - `[PermissionGrantConditionSetId ]`: The unique identifier of permissionGrantConditionSet + - `[PermissionGrantPolicyId ]`: The unique identifier of permissionGrantPolicy + - `[PhoneAuthenticationMethodId ]`: The unique identifier of phoneAuthenticationMethod + - `[RiskDetectionId ]`: The unique identifier of riskDetection + - `[RiskyServicePrincipalHistoryItemId ]`: The unique identifier of riskyServicePrincipalHistoryItem + - `[RiskyServicePrincipalId ]`: The unique identifier of riskyServicePrincipal + - `[RiskyUserHistoryItemId ]`: The unique identifier of riskyUserHistoryItem + - `[RiskyUserId ]`: The unique identifier of riskyUser + - `[ServicePrincipalRiskDetectionId ]`: The unique identifier of servicePrincipalRiskDetection + - `[SoftwareOathAuthenticationMethodId ]`: The unique identifier of softwareOathAuthenticationMethod + - `[TemporaryAccessPassAuthenticationMethodId ]`: The unique identifier of temporaryAccessPassAuthenticationMethod + - `[ThreatAssessmentRequestId ]`: The unique identifier of threatAssessmentRequest + - `[ThreatAssessmentResultId ]`: The unique identifier of threatAssessmentResult + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UnifiedRoleManagementPolicyAssignmentId ]`: The unique identifier of unifiedRoleManagementPolicyAssignment + - `[UnifiedRoleManagementPolicyId ]`: The unique identifier of unifiedRoleManagementPolicy + - `[UnifiedRoleManagementPolicyRuleId ]`: The unique identifier of unifiedRoleManagementPolicyRule + - `[UserFlowLanguageConfigurationId ]`: The unique identifier of userFlowLanguageConfiguration + - `[UserFlowLanguagePageId ]`: The unique identifier of userFlowLanguagePage + - `[UserId ]`: The unique identifier of user + - `[WindowsHelloForBusinessAuthenticationMethodId ]`: The unique identifier of windowsHelloForBusinessAuthenticationMethod + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.signins/Remove-MgIdentityB2XUserFlowIdentityProviderByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.signins/Remove-MgIdentityB2XUserFlowIdentityProviderByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md new file mode 100644 index 000000000000..b338d19a7305 --- /dev/null +++ b/microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -0,0 +1,273 @@ +--- +external help file: Microsoft.Graph.Identity.SignIns-help.xml +Module Name: Microsoft.Graph.Identity.SignIns +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.identity.signins/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef +schema: 2.0.0 +--- + +# Remove-MgPolicyFeatureRolloutPolicyApplyToByRef + +## SYNOPSIS +Delete ref of navigation property appliesTo for policies + +> [!NOTE] +> To view the beta release of this cmdlet, view [Remove-MgBetaPolicyFeatureRolloutPolicyApplyToDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToDirectoryObjectByRef?view=graph-powershell-beta) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgPolicyFeatureRolloutPolicyApplyToByRef -DirectoryObjectId + -FeatureRolloutPolicyId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgPolicyFeatureRolloutPolicyApplyToByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property appliesTo for policies + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FeatureRolloutPolicyId +The unique identifier of featureRolloutPolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentitySignInsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.PowerShell.Models.IIdentitySignInsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[ActivityBasedTimeoutPolicyId ]`: The unique identifier of activityBasedTimeoutPolicy + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AuthenticationCombinationConfigurationId ]`: The unique identifier of authenticationCombinationConfiguration + - `[AuthenticationContextClassReferenceId ]`: The unique identifier of authenticationContextClassReference + - `[AuthenticationEventListenerId ]`: The unique identifier of authenticationEventListener + - `[AuthenticationMethodConfigurationId ]`: The unique identifier of authenticationMethodConfiguration + - `[AuthenticationMethodId ]`: The unique identifier of authenticationMethod + - `[AuthenticationMethodModeDetailId ]`: The unique identifier of authenticationMethodModeDetail + - `[AuthenticationStrengthPolicyId ]`: The unique identifier of authenticationStrengthPolicy + - `[B2XIdentityUserFlowId ]`: The unique identifier of b2xIdentityUserFlow + - `[BitlockerRecoveryKeyId ]`: The unique identifier of bitlockerRecoveryKey + - `[CertificateBasedAuthConfigurationId ]`: The unique identifier of certificateBasedAuthConfiguration + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConditionalAccessPolicyId ]`: The unique identifier of conditionalAccessPolicy + - `[ConditionalAccessTemplateId ]`: The unique identifier of conditionalAccessTemplate + - `[CrossTenantAccessPolicyConfigurationPartnerTenantId ]`: The unique identifier of crossTenantAccessPolicyConfigurationPartner + - `[CustomAuthenticationExtensionId ]`: The unique identifier of customAuthenticationExtension + - `[DataPolicyOperationId ]`: The unique identifier of dataPolicyOperation + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EmailAuthenticationMethodId ]`: The unique identifier of emailAuthenticationMethod + - `[FeatureRolloutPolicyId ]`: The unique identifier of featureRolloutPolicy + - `[Fido2AuthenticationMethodId ]`: The unique identifier of fido2AuthenticationMethod + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IdentityApiConnectorId ]`: The unique identifier of identityApiConnector + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[IdentityProviderId ]`: The unique identifier of identityProvider + - `[IdentityUserFlowAttributeAssignmentId ]`: The unique identifier of identityUserFlowAttributeAssignment + - `[IdentityUserFlowAttributeId ]`: The unique identifier of identityUserFlowAttribute + - `[InvitationId ]`: The unique identifier of invitation + - `[LongRunningOperationId ]`: The unique identifier of longRunningOperation + - `[MicrosoftAuthenticatorAuthenticationMethodId ]`: The unique identifier of microsoftAuthenticatorAuthenticationMethod + - `[MultiTenantOrganizationMemberId ]`: The unique identifier of multiTenantOrganizationMember + - `[NamedLocationId ]`: The unique identifier of namedLocation + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OrganizationId ]`: The unique identifier of organization + - `[PasswordAuthenticationMethodId ]`: The unique identifier of passwordAuthenticationMethod + - `[PermissionGrantConditionSetId ]`: The unique identifier of permissionGrantConditionSet + - `[PermissionGrantPolicyId ]`: The unique identifier of permissionGrantPolicy + - `[PhoneAuthenticationMethodId ]`: The unique identifier of phoneAuthenticationMethod + - `[RiskDetectionId ]`: The unique identifier of riskDetection + - `[RiskyServicePrincipalHistoryItemId ]`: The unique identifier of riskyServicePrincipalHistoryItem + - `[RiskyServicePrincipalId ]`: The unique identifier of riskyServicePrincipal + - `[RiskyUserHistoryItemId ]`: The unique identifier of riskyUserHistoryItem + - `[RiskyUserId ]`: The unique identifier of riskyUser + - `[ServicePrincipalRiskDetectionId ]`: The unique identifier of servicePrincipalRiskDetection + - `[SoftwareOathAuthenticationMethodId ]`: The unique identifier of softwareOathAuthenticationMethod + - `[TemporaryAccessPassAuthenticationMethodId ]`: The unique identifier of temporaryAccessPassAuthenticationMethod + - `[ThreatAssessmentRequestId ]`: The unique identifier of threatAssessmentRequest + - `[ThreatAssessmentResultId ]`: The unique identifier of threatAssessmentResult + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UnifiedRoleManagementPolicyAssignmentId ]`: The unique identifier of unifiedRoleManagementPolicyAssignment + - `[UnifiedRoleManagementPolicyId ]`: The unique identifier of unifiedRoleManagementPolicy + - `[UnifiedRoleManagementPolicyRuleId ]`: The unique identifier of unifiedRoleManagementPolicyRule + - `[UserFlowLanguageConfigurationId ]`: The unique identifier of userFlowLanguageConfiguration + - `[UserFlowLanguagePageId ]`: The unique identifier of userFlowLanguagePage + - `[UserId ]`: The unique identifier of user + - `[WindowsHelloForBusinessAuthenticationMethodId ]`: The unique identifier of windowsHelloForBusinessAuthenticationMethod + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.identity.signins/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.identity.signins/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationAppManagementPolicyByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationAppManagementPolicyByRef.md new file mode 100644 index 000000000000..9f9287668088 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationAppManagementPolicyByRef.md @@ -0,0 +1,264 @@ +--- +external help file: Microsoft.Graph.Beta.Applications-help.xml +Module Name: Microsoft.Graph.Beta.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationAppManagementPolicyByRef +schema: 2.0.0 +--- + +# Remove-MgBetaApplicationAppManagementPolicyByRef + +## SYNOPSIS +Remove an appManagementPolicy policy object from an application or service principal object. +When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgApplicationAppManagementPolicyAppManagementPolicyByRef](/powershell/module/Microsoft.Graph.Applications/Remove-MgApplicationAppManagementPolicyAppManagementPolicyByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaApplicationAppManagementPolicyByRef -AppManagementPolicyId + -ApplicationId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaApplicationAppManagementPolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an appManagementPolicy policy object from an application or service principal object. +When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Remove-MgBetaApplicationAppManagementPolicyByRef -ApplicationId $applicationId -AppManagementPolicyId $appManagementPolicyId + +``` +This example shows how to use the Remove-MgBetaApplicationAppManagementPolicyByRef Cmdlet. + + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AppManagementPolicyId +The unique identifier of appManagementPolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConnectorGroupId ]`: The unique identifier of connectorGroup + - `[ConnectorId ]`: The unique identifier of connector + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IPApplicationSegmentId ]`: The unique identifier of ipApplicationSegment + - `[LicenseDetailsId ]`: The unique identifier of licenseDetails + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OnPremisesAgentGroupId ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentGroupId1 ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentId ]`: The unique identifier of onPremisesAgent + - `[OnPremisesPublishingProfileId ]`: The unique identifier of onPremisesPublishingProfile + - `[PermissionGrantPreApprovalPolicyId ]`: The unique identifier of permissionGrantPreApprovalPolicy + - `[PublishedResourceId ]`: The unique identifier of publishedResource + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationAppManagementPolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationAppManagementPolicyByRef) + +[https://learn.microsoft.com/graph/api/appmanagementpolicy-delete-appliesto?view=graph-rest-beta](https://learn.microsoft.com/graph/api/appmanagementpolicy-delete-appliesto?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationOwnerByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationOwnerByRef.md new file mode 100644 index 000000000000..6185d988c455 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationOwnerByRef.md @@ -0,0 +1,264 @@ +--- +external help file: Microsoft.Graph.Beta.Applications-help.xml +Module Name: Microsoft.Graph.Beta.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgBetaApplicationOwnerByRef + +## SYNOPSIS +Remove an owner from an application. +As a recommended best practice, apps should have at least two owners. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgApplicationOwnerDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Applications/Remove-MgApplicationOwnerDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaApplicationOwnerByRef -ApplicationId -DirectoryObjectId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaApplicationOwnerByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an owner from an application. +As a recommended best practice, apps should have at least two owners. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Remove-MgBetaApplicationOwnerByRef -ApplicationId $applicationId -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgBetaApplicationOwnerByRef Cmdlet. + + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConnectorGroupId ]`: The unique identifier of connectorGroup + - `[ConnectorId ]`: The unique identifier of connector + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IPApplicationSegmentId ]`: The unique identifier of ipApplicationSegment + - `[LicenseDetailsId ]`: The unique identifier of licenseDetails + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OnPremisesAgentGroupId ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentGroupId1 ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentId ]`: The unique identifier of onPremisesAgent + - `[OnPremisesPublishingProfileId ]`: The unique identifier of onPremisesPublishingProfile + - `[PermissionGrantPreApprovalPolicyId ]`: The unique identifier of permissionGrantPreApprovalPolicy + - `[PublishedResourceId ]`: The unique identifier of publishedResource + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationOwnerByRef) + +[https://learn.microsoft.com/graph/api/application-delete-owners?view=graph-rest-beta](https://learn.microsoft.com/graph/api/application-delete-owners?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenIssuancePolicyByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenIssuancePolicyByRef.md new file mode 100644 index 000000000000..06963d279f55 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenIssuancePolicyByRef.md @@ -0,0 +1,263 @@ +--- +external help file: Microsoft.Graph.Beta.Applications-help.xml +Module Name: Microsoft.Graph.Beta.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationTokenIssuancePolicyByRef +schema: 2.0.0 +--- + +# Remove-MgBetaApplicationTokenIssuancePolicyByRef + +## SYNOPSIS +Remove a tokenIssuancePolicy from an application. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgApplicationTokenIssuancePolicyTokenIssuancePolicyByRef](/powershell/module/Microsoft.Graph.Applications/Remove-MgApplicationTokenIssuancePolicyTokenIssuancePolicyByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaApplicationTokenIssuancePolicyByRef -ApplicationId + -TokenIssuancePolicyId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaApplicationTokenIssuancePolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a tokenIssuancePolicy from an application. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Remove-MgBetaApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -TokenIssuancePolicyId $tokenIssuancePolicyId + +``` +This example shows how to use the Remove-MgBetaApplicationTokenIssuancePolicyByRef Cmdlet. + + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TokenIssuancePolicyId +The unique identifier of tokenIssuancePolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConnectorGroupId ]`: The unique identifier of connectorGroup + - `[ConnectorId ]`: The unique identifier of connector + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IPApplicationSegmentId ]`: The unique identifier of ipApplicationSegment + - `[LicenseDetailsId ]`: The unique identifier of licenseDetails + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OnPremisesAgentGroupId ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentGroupId1 ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentId ]`: The unique identifier of onPremisesAgent + - `[OnPremisesPublishingProfileId ]`: The unique identifier of onPremisesPublishingProfile + - `[PermissionGrantPreApprovalPolicyId ]`: The unique identifier of permissionGrantPreApprovalPolicy + - `[PublishedResourceId ]`: The unique identifier of publishedResource + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationTokenIssuancePolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationTokenIssuancePolicyByRef) + +[https://learn.microsoft.com/graph/api/application-delete-tokenissuancepolicies?view=graph-rest-beta](https://learn.microsoft.com/graph/api/application-delete-tokenissuancepolicies?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenLifetimePolicyByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenLifetimePolicyByRef.md new file mode 100644 index 000000000000..99ce09f24501 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Applications/Remove-MgBetaApplicationTokenLifetimePolicyByRef.md @@ -0,0 +1,263 @@ +--- +external help file: Microsoft.Graph.Beta.Applications-help.xml +Module Name: Microsoft.Graph.Beta.Applications +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationTokenLifetimePolicyByRef +schema: 2.0.0 +--- + +# Remove-MgBetaApplicationTokenLifetimePolicyByRef + +## SYNOPSIS +Remove a tokenLifetimePolicy from an application or servicePrincipal. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgApplicationTokenLifetimePolicyTokenLifetimePolicyByRef](/powershell/module/Microsoft.Graph.Applications/Remove-MgApplicationTokenLifetimePolicyTokenLifetimePolicyByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaApplicationTokenLifetimePolicyByRef -ApplicationId + -TokenLifetimePolicyId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaApplicationTokenLifetimePolicyByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a tokenLifetimePolicy from an application or servicePrincipal. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Remove-MgBetaApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -TokenLifetimePolicyId $tokenLifetimePolicyId + +``` +This example shows how to use the Remove-MgBetaApplicationTokenLifetimePolicyByRef Cmdlet. + + +## PARAMETERS + +### -ApplicationId +The unique identifier of application + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IApplicationsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TokenLifetimePolicyId +The unique identifier of tokenLifetimePolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IApplicationsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AppId ]`: Alternate key of application + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AppRoleAssignmentId ]`: The unique identifier of appRoleAssignment + - `[ApplicationId ]`: The unique identifier of application + - `[ApplicationTemplateId ]`: The unique identifier of applicationTemplate + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConnectorGroupId ]`: The unique identifier of connectorGroup + - `[ConnectorId ]`: The unique identifier of connector + - `[DelegatedPermissionClassificationId ]`: The unique identifier of delegatedPermissionClassification + - `[DirectoryDefinitionId ]`: The unique identifier of directoryDefinition + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndpointId ]`: The unique identifier of endpoint + - `[ExtensionPropertyId ]`: The unique identifier of extensionProperty + - `[FederatedIdentityCredentialId ]`: The unique identifier of federatedIdentityCredential + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IPApplicationSegmentId ]`: The unique identifier of ipApplicationSegment + - `[LicenseDetailsId ]`: The unique identifier of licenseDetails + - `[Name ]`: Alternate key of federatedIdentityCredential + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OnPremisesAgentGroupId ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentGroupId1 ]`: The unique identifier of onPremisesAgentGroup + - `[OnPremisesAgentId ]`: The unique identifier of onPremisesAgent + - `[OnPremisesPublishingProfileId ]`: The unique identifier of onPremisesPublishingProfile + - `[PermissionGrantPreApprovalPolicyId ]`: The unique identifier of permissionGrantPreApprovalPolicy + - `[PublishedResourceId ]`: The unique identifier of publishedResource + - `[ServicePrincipalId ]`: The unique identifier of servicePrincipal + - `[SynchronizationJobId ]`: The unique identifier of synchronizationJob + - `[SynchronizationTemplateId ]`: The unique identifier of synchronizationTemplate + - `[TargetDeviceGroupId ]`: The unique identifier of targetDeviceGroup + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[UniqueName ]`: Alternate key of application + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationTokenLifetimePolicyByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.applications/Remove-MgBetaApplicationTokenLifetimePolicyByRef) + +[https://learn.microsoft.com/graph/api/application-delete-tokenlifetimepolicies?view=graph-rest-beta](https://learn.microsoft.com/graph/api/application-delete-tokenlifetimepolicies?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.CrossDeviceExperiences/Remove-MgBetaUserDeviceRegisteredOwnerByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.CrossDeviceExperiences/Remove-MgBetaUserDeviceRegisteredOwnerByRef.md new file mode 100644 index 000000000000..5524a45b1efc --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.CrossDeviceExperiences/Remove-MgBetaUserDeviceRegisteredOwnerByRef.md @@ -0,0 +1,234 @@ +--- +external help file: Microsoft.Graph.Beta.CrossDeviceExperiences-help.xml +Module Name: Microsoft.Graph.Beta.CrossDeviceExperiences +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.crossdeviceexperiences/Remove-MgBetaUserDeviceRegisteredOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgBetaUserDeviceRegisteredOwnerByRef + +## SYNOPSIS +Delete ref of navigation property registeredOwners for users + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaUserDeviceRegisteredOwnerByRef -DeviceId -DirectoryObjectId + -UserId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaUserDeviceRegisteredOwnerByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property registeredOwners for users + +## PARAMETERS + +### -DeviceId +The unique identifier of device + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: ICrossDeviceExperiencesIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +The unique identifier of user + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.ICrossDeviceExperiencesIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[ActivityHistoryItemId ]`: The unique identifier of activityHistoryItem + - `[CommandId ]`: The unique identifier of command + - `[DeviceId ]`: The unique identifier of device + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[ExtensionId ]`: The unique identifier of extension + - `[UsageRightId ]`: The unique identifier of usageRight + - `[UserActivityId ]`: The unique identifier of userActivity + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.crossdeviceexperiences/Remove-MgBetaUserDeviceRegisteredOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.crossdeviceexperiences/Remove-MgBetaUserDeviceRegisteredOwnerByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.CrossDeviceExperiences/Remove-MgBetaUserDeviceRegisteredUserByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.CrossDeviceExperiences/Remove-MgBetaUserDeviceRegisteredUserByRef.md new file mode 100644 index 000000000000..ed80a7872af4 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.CrossDeviceExperiences/Remove-MgBetaUserDeviceRegisteredUserByRef.md @@ -0,0 +1,234 @@ +--- +external help file: Microsoft.Graph.Beta.CrossDeviceExperiences-help.xml +Module Name: Microsoft.Graph.Beta.CrossDeviceExperiences +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.crossdeviceexperiences/Remove-MgBetaUserDeviceRegisteredUserByRef +schema: 2.0.0 +--- + +# Remove-MgBetaUserDeviceRegisteredUserByRef + +## SYNOPSIS +Delete ref of navigation property registeredUsers for users + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaUserDeviceRegisteredUserByRef -DeviceId -DirectoryObjectId + -UserId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaUserDeviceRegisteredUserByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property registeredUsers for users + +## PARAMETERS + +### -DeviceId +The unique identifier of device + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: ICrossDeviceExperiencesIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +The unique identifier of user + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.ICrossDeviceExperiencesIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[ActivityHistoryItemId ]`: The unique identifier of activityHistoryItem + - `[CommandId ]`: The unique identifier of command + - `[DeviceId ]`: The unique identifier of device + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[ExtensionId ]`: The unique identifier of extension + - `[UsageRightId ]`: The unique identifier of usageRight + - `[UserActivityId ]`: The unique identifier of userActivity + - `[UserId ]`: The unique identifier of user + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.crossdeviceexperiences/Remove-MgBetaUserDeviceRegisteredUserByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.crossdeviceexperiences/Remove-MgBetaUserDeviceRegisteredUserByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassAssignmentCategoryByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassAssignmentCategoryByRef.md new file mode 100644 index 000000000000..f457787a2399 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassAssignmentCategoryByRef.md @@ -0,0 +1,248 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassAssignmentCategoryByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationClassAssignmentCategoryByRef + +## SYNOPSIS +Delete ref of navigation property categories for education + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationClassAssignmentCategoryEducationCategoryByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationClassAssignmentCategoryEducationCategoryByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationClassAssignmentCategoryByRef -EducationAssignmentId + -EducationCategoryId -EducationClassId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationClassAssignmentCategoryByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property categories for education + +## PARAMETERS + +### -EducationAssignmentId +The unique identifier of educationAssignment + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationCategoryId +The unique identifier of educationCategory + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassAssignmentCategoryByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassAssignmentCategoryByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassMemberByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassMemberByRef.md new file mode 100644 index 000000000000..3cc85890cade --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassMemberByRef.md @@ -0,0 +1,246 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassMemberByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationClassMemberByRef + +## SYNOPSIS +Remove an educationUser from an educationClass. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationClassMemberEducationUserByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationClassMemberEducationUserByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationClassMemberByRef -EducationClassId -EducationUserId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationClassMemberByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an educationUser from an educationClass. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Remove-MgBetaEducationClassMemberByRef -EducationClassId $educationClassId -EducationUserId $educationUserId + +``` +This example shows how to use the Remove-MgBetaEducationClassMemberByRef Cmdlet. + + +## PARAMETERS + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassMemberByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassMemberByRef) + +[https://learn.microsoft.com/graph/api/educationclass-delete-members?view=graph-rest-beta](https://learn.microsoft.com/graph/api/educationclass-delete-members?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassTeacherByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassTeacherByRef.md new file mode 100644 index 000000000000..6e551170eb52 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationClassTeacherByRef.md @@ -0,0 +1,235 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassTeacherByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationClassTeacherByRef + +## SYNOPSIS +Remove a teacher from an educationClass. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationClassTeacherEducationUserByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationClassTeacherEducationUserByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationClassTeacherByRef -EducationClassId -EducationUserId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationClassTeacherByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a teacher from an educationClass. + +## PARAMETERS + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassTeacherByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationClassTeacherByRef) + +[https://learn.microsoft.com/graph/api/educationclass-delete-teachers?view=graph-rest-beta](https://learn.microsoft.com/graph/api/educationclass-delete-teachers?view=graph-rest-beta) + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationMeAssignmentCategoryByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationMeAssignmentCategoryByRef.md new file mode 100644 index 000000000000..bf2fd31db40a --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationMeAssignmentCategoryByRef.md @@ -0,0 +1,232 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationMeAssignmentCategoryByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationMeAssignmentCategoryByRef + +## SYNOPSIS +Delete ref of navigation property categories for education + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationMeAssignmentCategoryEducationCategoryByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationMeAssignmentCategoryEducationCategoryByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationMeAssignmentCategoryByRef -EducationAssignmentId + -EducationCategoryId [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationMeAssignmentCategoryByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property categories for education + +## PARAMETERS + +### -EducationAssignmentId +The unique identifier of educationAssignment + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationCategoryId +The unique identifier of educationCategory + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationMeAssignmentCategoryByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationMeAssignmentCategoryByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolClassByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolClassByRef.md new file mode 100644 index 000000000000..f135a1d2f9a9 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolClassByRef.md @@ -0,0 +1,235 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationSchoolClassByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationSchoolClassByRef + +## SYNOPSIS +Delete a class from a school. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationSchoolClassEducationClassByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationSchoolClassEducationClassByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationSchoolClassByRef -EducationClassId -EducationSchoolId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationSchoolClassByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete a class from a school. + +## PARAMETERS + +### -EducationClassId +The unique identifier of educationClass + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationSchoolId +The unique identifier of educationSchool + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationSchoolClassByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationSchoolClassByRef) + +[https://learn.microsoft.com/graph/api/educationschool-delete-classes?view=graph-rest-beta](https://learn.microsoft.com/graph/api/educationschool-delete-classes?view=graph-rest-beta) + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolUserByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolUserByRef.md new file mode 100644 index 000000000000..b5c6ff2d18b9 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationSchoolUserByRef.md @@ -0,0 +1,246 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationSchoolUserByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationSchoolUserByRef + +## SYNOPSIS +Delete a user from a school. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationSchoolUserEducationUserByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationSchoolUserEducationUserByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationSchoolUserByRef -EducationSchoolId -EducationUserId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationSchoolUserByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete a user from a school. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Remove-MgBetaEducationSchoolUserByRef -EducationSchoolId $educationSchoolId -EducationUserId $educationUserId + +``` +This example shows how to use the Remove-MgBetaEducationSchoolUserByRef Cmdlet. + + +## PARAMETERS + +### -EducationSchoolId +The unique identifier of educationSchool + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationSchoolUserByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationSchoolUserByRef) + +[https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-beta](https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationUserAssignmentCategoryByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationUserAssignmentCategoryByRef.md new file mode 100644 index 000000000000..1600c74ecc72 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Education/Remove-MgBetaEducationUserAssignmentCategoryByRef.md @@ -0,0 +1,248 @@ +--- +external help file: Microsoft.Graph.Beta.Education-help.xml +Module Name: Microsoft.Graph.Beta.Education +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationUserAssignmentCategoryByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEducationUserAssignmentCategoryByRef + +## SYNOPSIS +Delete ref of navigation property categories for education + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEducationUserAssignmentCategoryEducationCategoryByRef](/powershell/module/Microsoft.Graph.Education/Remove-MgEducationUserAssignmentCategoryEducationCategoryByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEducationUserAssignmentCategoryByRef -EducationAssignmentId + -EducationCategoryId -EducationUserId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEducationUserAssignmentCategoryByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property categories for education + +## PARAMETERS + +### -EducationAssignmentId +The unique identifier of educationAssignment + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationCategoryId +The unique identifier of educationCategory + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EducationUserId +The unique identifier of educationUser + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IEducationIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[EducationAssignmentId ]`: The unique identifier of educationAssignment + - `[EducationAssignmentResourceId ]`: The unique identifier of educationAssignmentResource + - `[EducationAssignmentResourceId1 ]`: The unique identifier of educationAssignmentResource + - `[EducationCategoryId ]`: The unique identifier of educationCategory + - `[EducationClassId ]`: The unique identifier of educationClass + - `[EducationGradingCategoryId ]`: The unique identifier of educationGradingCategory + - `[EducationGradingSchemeId ]`: The unique identifier of educationGradingScheme + - `[EducationModuleId ]`: The unique identifier of educationModule + - `[EducationModuleResourceId ]`: The unique identifier of educationModuleResource + - `[EducationOutcomeId ]`: The unique identifier of educationOutcome + - `[EducationRubricId ]`: The unique identifier of educationRubric + - `[EducationSchoolId ]`: The unique identifier of educationSchool + - `[EducationSubmissionId ]`: The unique identifier of educationSubmission + - `[EducationSubmissionResourceId ]`: The unique identifier of educationSubmissionResource + - `[EducationSubmissionResourceId1 ]`: The unique identifier of educationSubmissionResource + - `[EducationSynchronizationErrorId ]`: The unique identifier of educationSynchronizationError + - `[EducationSynchronizationProfileId ]`: The unique identifier of educationSynchronizationProfile + - `[EducationUserId ]`: The unique identifier of educationUser + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationUserAssignmentCategoryByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.education/Remove-MgBetaEducationUserAssignmentCategoryByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupAcceptedSenderByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupAcceptedSenderByRef.md new file mode 100644 index 000000000000..e27bc22a804b --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupAcceptedSenderByRef.md @@ -0,0 +1,263 @@ +--- +external help file: Microsoft.Graph.Beta.Groups-help.xml +Module Name: Microsoft.Graph.Beta.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupAcceptedSenderByRef +schema: 2.0.0 +--- + +# Remove-MgBetaGroupAcceptedSenderByRef + +## SYNOPSIS +Remove a user or group from the accepted-senders list of the specified group. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgGroupAcceptedSenderDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Groups/Remove-MgGroupAcceptedSenderDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaGroupAcceptedSenderByRef -DirectoryObjectId -GroupId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaGroupAcceptedSenderByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a user or group from the accepted-senders list of the specified group. + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectorySettingId ]`: The unique identifier of directorySetting + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EndpointId ]`: The unique identifier of endpoint + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[MentionId ]`: The unique identifier of mention + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PlannerBucketId ]`: The unique identifier of plannerBucket + - `[PlannerPlanId ]`: The unique identifier of plannerPlan + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SensitivityLabelId ]`: The unique identifier of sensitivityLabel + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[UserId ]`: The unique identifier of user + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupAcceptedSenderByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupAcceptedSenderByRef) + +[https://learn.microsoft.com/graph/api/group-delete-acceptedsenders?view=graph-rest-beta](https://learn.microsoft.com/graph/api/group-delete-acceptedsenders?view=graph-rest-beta) + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupMemberByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupMemberByRef.md new file mode 100644 index 000000000000..6de4c2d1b04c --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupMemberByRef.md @@ -0,0 +1,276 @@ +--- +external help file: Microsoft.Graph.Beta.Groups-help.xml +Module Name: Microsoft.Graph.Beta.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupMemberByRef +schema: 2.0.0 +--- + +# Remove-MgBetaGroupMemberByRef + +## SYNOPSIS +Remove a member from a group via the members navigation property. +You can't remove a member from groups with dynamic memberships. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgGroupMemberDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Groups/Remove-MgGroupMemberDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaGroupMemberByRef -DirectoryObjectId -GroupId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaGroupMemberByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a member from a group via the members navigation property. +You can't remove a member from groups with dynamic memberships. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Groups + +Remove-MgBetaGroupMemberByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgBetaGroupMemberByRef Cmdlet. + + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectorySettingId ]`: The unique identifier of directorySetting + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EndpointId ]`: The unique identifier of endpoint + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[MentionId ]`: The unique identifier of mention + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PlannerBucketId ]`: The unique identifier of plannerBucket + - `[PlannerPlanId ]`: The unique identifier of plannerPlan + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SensitivityLabelId ]`: The unique identifier of sensitivityLabel + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[UserId ]`: The unique identifier of user + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupMemberByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupMemberByRef) + +[https://learn.microsoft.com/graph/api/group-delete-members?view=graph-rest-beta](https://learn.microsoft.com/graph/api/group-delete-members?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupOwnerByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupOwnerByRef.md new file mode 100644 index 000000000000..90d756146ee4 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupOwnerByRef.md @@ -0,0 +1,276 @@ +--- +external help file: Microsoft.Graph.Beta.Groups-help.xml +Module Name: Microsoft.Graph.Beta.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupOwnerByRef +schema: 2.0.0 +--- + +# Remove-MgBetaGroupOwnerByRef + +## SYNOPSIS +Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. +When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgGroupOwnerDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Groups/Remove-MgGroupOwnerDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaGroupOwnerByRef -DirectoryObjectId -GroupId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaGroupOwnerByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. +When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Groups + +Remove-MgBetaGroupOwnerByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgBetaGroupOwnerByRef Cmdlet. + + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectorySettingId ]`: The unique identifier of directorySetting + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EndpointId ]`: The unique identifier of endpoint + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[MentionId ]`: The unique identifier of mention + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PlannerBucketId ]`: The unique identifier of plannerBucket + - `[PlannerPlanId ]`: The unique identifier of plannerPlan + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SensitivityLabelId ]`: The unique identifier of sensitivityLabel + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[UserId ]`: The unique identifier of user + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupOwnerByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupOwnerByRef) + +[https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-beta](https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupRejectedSenderByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupRejectedSenderByRef.md new file mode 100644 index 000000000000..74761f588a5a --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Groups/Remove-MgBetaGroupRejectedSenderByRef.md @@ -0,0 +1,263 @@ +--- +external help file: Microsoft.Graph.Beta.Groups-help.xml +Module Name: Microsoft.Graph.Beta.Groups +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupRejectedSenderByRef +schema: 2.0.0 +--- + +# Remove-MgBetaGroupRejectedSenderByRef + +## SYNOPSIS +Remove a user or group from the rejected-senders list of the specified group. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgGroupRejectedSenderDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Groups/Remove-MgGroupRejectedSenderDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaGroupRejectedSenderByRef -DirectoryObjectId -GroupId + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaGroupRejectedSenderByRef -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove a user or group from the rejected-senders list of the specified group. + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +The unique identifier of group + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IGroupsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IGroupsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AttachmentId ]`: The unique identifier of attachment + - `[BaseSitePageId ]`: The unique identifier of baseSitePage + - `[ContentTypeId ]`: The unique identifier of contentType + - `[ConversationId ]`: The unique identifier of conversation + - `[ConversationThreadId ]`: The unique identifier of conversationThread + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[DirectorySettingId ]`: The unique identifier of directorySetting + - `[DocumentSetVersionId ]`: The unique identifier of documentSetVersion + - `[DriveId ]`: The unique identifier of drive + - `[DriveItemId ]`: The unique identifier of driveItem + - `[DriveItemVersionId ]`: The unique identifier of driveItemVersion + - `[EndDateTime ]`: Usage: endDateTime='{endDateTime}' + - `[EndpointId ]`: The unique identifier of endpoint + - `[EventId ]`: The unique identifier of event + - `[ExtensionId ]`: The unique identifier of extension + - `[GroupId ]`: The unique identifier of group + - `[GroupLifecyclePolicyId ]`: The unique identifier of groupLifecyclePolicy + - `[HorizontalSectionColumnId ]`: The unique identifier of horizontalSectionColumn + - `[HorizontalSectionId ]`: The unique identifier of horizontalSection + - `[IncludePersonalNotebooks ]`: Usage: includePersonalNotebooks={includePersonalNotebooks} + - `[Interval ]`: Usage: interval='{interval}' + - `[ListId ]`: The unique identifier of list + - `[ListItemId ]`: The unique identifier of listItem + - `[ListItemVersionId ]`: The unique identifier of listItemVersion + - `[MentionId ]`: The unique identifier of mention + - `[NotebookId ]`: The unique identifier of notebook + - `[OnenotePageId ]`: The unique identifier of onenotePage + - `[OnenoteSectionId ]`: The unique identifier of onenoteSection + - `[Path ]`: Usage: path='{path}' + - `[Path1 ]`: Usage: path='{path1}' + - `[PermissionId ]`: The unique identifier of permission + - `[PlannerBucketId ]`: The unique identifier of plannerBucket + - `[PlannerPlanId ]`: The unique identifier of plannerPlan + - `[PostId ]`: The unique identifier of post + - `[ProfilePhotoId ]`: The unique identifier of profilePhoto + - `[Q ]`: Usage: q='{q}' + - `[ResourceSpecificPermissionGrantId ]`: The unique identifier of resourceSpecificPermissionGrant + - `[SensitivityLabelId ]`: The unique identifier of sensitivityLabel + - `[SiteId ]`: The unique identifier of site + - `[StartDateTime ]`: Usage: startDateTime='{startDateTime}' + - `[SubscriptionId ]`: The unique identifier of subscription + - `[Token ]`: Usage: token='{token}' + - `[UniqueName ]`: Alternate key of group + - `[User ]`: Usage: User='{User}' + - `[UserId ]`: The unique identifier of user + - `[WebPartId ]`: The unique identifier of webPart + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupRejectedSenderByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.groups/Remove-MgBetaGroupRejectedSenderByRef) + +[https://learn.microsoft.com/graph/api/group-delete-rejectedsenders?view=graph-rest-beta](https://learn.microsoft.com/graph/api/group-delete-rejectedsenders?view=graph-rest-beta) + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef.md new file mode 100644 index 000000000000..6f7654776647 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -0,0 +1,331 @@ +--- +external help file: Microsoft.Graph.Beta.Identity.Governance-help.xml +Module Name: Microsoft.Graph.Beta.Identity.Governance +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef + +## SYNOPSIS +Remove a user or a group from the connected organization's external sponsors. +The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef + -ConnectedOrganizationId -DirectoryObjectId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef + -InputObject [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Remove a user or a group from the connected organization's external sponsors. +The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.Governance + +Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef Cmdlet. + + +## PARAMETERS + +### -ConnectedOrganizationId +The unique identifier of connectedOrganization + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityGovernanceIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IIdentityGovernanceIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AccessPackageAssignmentId ]`: The unique identifier of accessPackageAssignment + - `[AccessPackageAssignmentPolicyId ]`: The unique identifier of accessPackageAssignmentPolicy + - `[AccessPackageAssignmentRequestId ]`: The unique identifier of accessPackageAssignmentRequest + - `[AccessPackageAssignmentResourceRoleId ]`: The unique identifier of accessPackageAssignmentResourceRole + - `[AccessPackageCatalogId ]`: The unique identifier of accessPackageCatalog + - `[AccessPackageId ]`: The unique identifier of accessPackage + - `[AccessPackageId1 ]`: The unique identifier of accessPackage + - `[AccessPackageResourceEnvironmentId ]`: The unique identifier of accessPackageResourceEnvironment + - `[AccessPackageResourceId ]`: The unique identifier of accessPackageResource + - `[AccessPackageResourceRequestId ]`: The unique identifier of accessPackageResourceRequest + - `[AccessPackageResourceRoleId ]`: The unique identifier of accessPackageResourceRole + - `[AccessPackageResourceRoleScopeId ]`: The unique identifier of accessPackageResourceRoleScope + - `[AccessPackageResourceScopeId ]`: The unique identifier of accessPackageResourceScope + - `[AccessPackageSubjectId ]`: The unique identifier of accessPackageSubject + - `[AccessReviewDecisionId ]`: The unique identifier of accessReviewDecision + - `[AccessReviewHistoryDefinitionId ]`: The unique identifier of accessReviewHistoryDefinition + - `[AccessReviewHistoryInstanceId ]`: The unique identifier of accessReviewHistoryInstance + - `[AccessReviewId ]`: The unique identifier of accessReview + - `[AccessReviewId1 ]`: The unique identifier of accessReview + - `[AccessReviewInstanceDecisionItemId ]`: The unique identifier of accessReviewInstanceDecisionItem + - `[AccessReviewInstanceDecisionItemId1 ]`: The unique identifier of accessReviewInstanceDecisionItem + - `[AccessReviewInstanceId ]`: The unique identifier of accessReviewInstance + - `[AccessReviewReviewerId ]`: The unique identifier of accessReviewReviewer + - `[AccessReviewScheduleDefinitionId ]`: The unique identifier of accessReviewScheduleDefinition + - `[AccessReviewStageId ]`: The unique identifier of accessReviewStage + - `[AgreementAcceptanceId ]`: The unique identifier of agreementAcceptance + - `[AgreementFileLocalizationId ]`: The unique identifier of agreementFileLocalization + - `[AgreementFileVersionId ]`: The unique identifier of agreementFileVersion + - `[AgreementId ]`: The unique identifier of agreement + - `[AppConsentRequestId ]`: The unique identifier of appConsentRequest + - `[ApprovalId ]`: The unique identifier of approval + - `[ApprovalStepId ]`: The unique identifier of approvalStep + - `[BusinessFlowTemplateId ]`: The unique identifier of businessFlowTemplate + - `[ConnectedOrganizationId ]`: The unique identifier of connectedOrganization + - `[CustomAccessPackageWorkflowExtensionId ]`: The unique identifier of customAccessPackageWorkflowExtension + - `[CustomCalloutExtensionId ]`: The unique identifier of customCalloutExtension + - `[CustomExtensionHandlerId ]`: The unique identifier of customExtensionHandler + - `[CustomExtensionStageSettingId ]`: The unique identifier of customExtensionStageSetting + - `[CustomTaskExtensionId ]`: The unique identifier of customTaskExtension + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndDateTime ]`: Usage: endDateTime={endDateTime} + - `[FindingId ]`: The unique identifier of finding + - `[GovernanceInsightId ]`: The unique identifier of governanceInsight + - `[GovernanceResourceId ]`: The unique identifier of governanceResource + - `[GovernanceRoleAssignmentId ]`: The unique identifier of governanceRoleAssignment + - `[GovernanceRoleAssignmentRequestId ]`: The unique identifier of governanceRoleAssignmentRequest + - `[GovernanceRoleDefinitionId ]`: The unique identifier of governanceRoleDefinition + - `[GovernanceRoleSettingId ]`: The unique identifier of governanceRoleSetting + - `[IncompatibleAccessPackageId ]`: Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}' + - `[LongRunningOperationId ]`: The unique identifier of longRunningOperation + - `[ObjectId ]`: Alternate key of accessPackageSubject + - `[On ]`: Usage: on='{on}' + - `[PermissionsCreepIndexDistributionId ]`: The unique identifier of permissionsCreepIndexDistribution + - `[PermissionsRequestChangeId ]`: The unique identifier of permissionsRequestChange + - `[PrivilegedAccessGroupAssignmentScheduleId ]`: The unique identifier of privilegedAccessGroupAssignmentSchedule + - `[PrivilegedAccessGroupAssignmentScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleInstance + - `[PrivilegedAccessGroupAssignmentScheduleRequestId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleRequest + - `[PrivilegedAccessGroupEligibilityScheduleId ]`: The unique identifier of privilegedAccessGroupEligibilitySchedule + - `[PrivilegedAccessGroupEligibilityScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleInstance + - `[PrivilegedAccessGroupEligibilityScheduleRequestId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleRequest + - `[PrivilegedAccessId ]`: The unique identifier of privilegedAccess + - `[PrivilegedApprovalId ]`: The unique identifier of privilegedApproval + - `[PrivilegedOperationEventId ]`: The unique identifier of privilegedOperationEvent + - `[PrivilegedRoleAssignmentId ]`: The unique identifier of privilegedRoleAssignment + - `[PrivilegedRoleAssignmentId1 ]`: The unique identifier of privilegedRoleAssignment + - `[PrivilegedRoleAssignmentRequestId ]`: The unique identifier of privilegedRoleAssignmentRequest + - `[PrivilegedRoleId ]`: The unique identifier of privilegedRole + - `[ProgramControlId ]`: The unique identifier of programControl + - `[ProgramControlId1 ]`: The unique identifier of programControl + - `[ProgramControlTypeId ]`: The unique identifier of programControlType + - `[ProgramId ]`: The unique identifier of program + - `[RbacApplicationId ]`: The unique identifier of rbacApplication + - `[RunId ]`: The unique identifier of run + - `[StartDateTime ]`: Usage: startDateTime={startDateTime} + - `[TaskDefinitionId ]`: The unique identifier of taskDefinition + - `[TaskId ]`: The unique identifier of task + - `[TaskProcessingResultId ]`: The unique identifier of taskProcessingResult + - `[TaskReportId ]`: The unique identifier of taskReport + - `[UnifiedRbacResourceActionId ]`: The unique identifier of unifiedRbacResourceAction + - `[UnifiedRbacResourceNamespaceId ]`: The unique identifier of unifiedRbacResourceNamespace + - `[UnifiedRoleAssignmentId ]`: The unique identifier of unifiedRoleAssignment + - `[UnifiedRoleAssignmentScheduleId ]`: The unique identifier of unifiedRoleAssignmentSchedule + - `[UnifiedRoleAssignmentScheduleInstanceId ]`: The unique identifier of unifiedRoleAssignmentScheduleInstance + - `[UnifiedRoleAssignmentScheduleRequestId ]`: The unique identifier of unifiedRoleAssignmentScheduleRequest + - `[UnifiedRoleDefinitionId ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleDefinitionId1 ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleEligibilityScheduleId ]`: The unique identifier of unifiedRoleEligibilitySchedule + - `[UnifiedRoleEligibilityScheduleInstanceId ]`: The unique identifier of unifiedRoleEligibilityScheduleInstance + - `[UnifiedRoleEligibilityScheduleRequestId ]`: The unique identifier of unifiedRoleEligibilityScheduleRequest + - `[UnifiedRoleManagementAlertConfigurationId ]`: The unique identifier of unifiedRoleManagementAlertConfiguration + - `[UnifiedRoleManagementAlertDefinitionId ]`: The unique identifier of unifiedRoleManagementAlertDefinition + - `[UnifiedRoleManagementAlertId ]`: The unique identifier of unifiedRoleManagementAlert + - `[UnifiedRoleManagementAlertIncidentId ]`: The unique identifier of unifiedRoleManagementAlertIncident + - `[UserConsentRequestId ]`: The unique identifier of userConsentRequest + - `[UserId ]`: The unique identifier of user + - `[UserProcessingResultId ]`: The unique identifier of userProcessingResult + - `[WorkflowId ]`: The unique identifier of workflow + - `[WorkflowTemplateId ]`: The unique identifier of workflowTemplate + - `[WorkflowVersionNumber ]`: The unique identifier of workflowVersion + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.governance/Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef) + +[https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-beta](https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef.md new file mode 100644 index 000000000000..4af344be2a2e --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.Governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -0,0 +1,331 @@ +--- +external help file: Microsoft.Graph.Beta.Identity.Governance-help.xml +Module Name: Microsoft.Graph.Beta.Identity.Governance +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef +schema: 2.0.0 +--- + +# Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef + +## SYNOPSIS +Remove a user or a group from the connected organization's internal sponsors. +The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Identity.Governance/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef + -ConnectedOrganizationId -DirectoryObjectId [-IfMatch ] + [-ResponseHeadersVariable ] [-Headers ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef + -InputObject [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Remove a user or a group from the connected organization's internal sponsors. +The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.Governance + +Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef Cmdlet. + + +## PARAMETERS + +### -ConnectedOrganizationId +The unique identifier of connectedOrganization + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentityGovernanceIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IIdentityGovernanceIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[AccessPackageAssignmentId ]`: The unique identifier of accessPackageAssignment + - `[AccessPackageAssignmentPolicyId ]`: The unique identifier of accessPackageAssignmentPolicy + - `[AccessPackageAssignmentRequestId ]`: The unique identifier of accessPackageAssignmentRequest + - `[AccessPackageAssignmentResourceRoleId ]`: The unique identifier of accessPackageAssignmentResourceRole + - `[AccessPackageCatalogId ]`: The unique identifier of accessPackageCatalog + - `[AccessPackageId ]`: The unique identifier of accessPackage + - `[AccessPackageId1 ]`: The unique identifier of accessPackage + - `[AccessPackageResourceEnvironmentId ]`: The unique identifier of accessPackageResourceEnvironment + - `[AccessPackageResourceId ]`: The unique identifier of accessPackageResource + - `[AccessPackageResourceRequestId ]`: The unique identifier of accessPackageResourceRequest + - `[AccessPackageResourceRoleId ]`: The unique identifier of accessPackageResourceRole + - `[AccessPackageResourceRoleScopeId ]`: The unique identifier of accessPackageResourceRoleScope + - `[AccessPackageResourceScopeId ]`: The unique identifier of accessPackageResourceScope + - `[AccessPackageSubjectId ]`: The unique identifier of accessPackageSubject + - `[AccessReviewDecisionId ]`: The unique identifier of accessReviewDecision + - `[AccessReviewHistoryDefinitionId ]`: The unique identifier of accessReviewHistoryDefinition + - `[AccessReviewHistoryInstanceId ]`: The unique identifier of accessReviewHistoryInstance + - `[AccessReviewId ]`: The unique identifier of accessReview + - `[AccessReviewId1 ]`: The unique identifier of accessReview + - `[AccessReviewInstanceDecisionItemId ]`: The unique identifier of accessReviewInstanceDecisionItem + - `[AccessReviewInstanceDecisionItemId1 ]`: The unique identifier of accessReviewInstanceDecisionItem + - `[AccessReviewInstanceId ]`: The unique identifier of accessReviewInstance + - `[AccessReviewReviewerId ]`: The unique identifier of accessReviewReviewer + - `[AccessReviewScheduleDefinitionId ]`: The unique identifier of accessReviewScheduleDefinition + - `[AccessReviewStageId ]`: The unique identifier of accessReviewStage + - `[AgreementAcceptanceId ]`: The unique identifier of agreementAcceptance + - `[AgreementFileLocalizationId ]`: The unique identifier of agreementFileLocalization + - `[AgreementFileVersionId ]`: The unique identifier of agreementFileVersion + - `[AgreementId ]`: The unique identifier of agreement + - `[AppConsentRequestId ]`: The unique identifier of appConsentRequest + - `[ApprovalId ]`: The unique identifier of approval + - `[ApprovalStepId ]`: The unique identifier of approvalStep + - `[BusinessFlowTemplateId ]`: The unique identifier of businessFlowTemplate + - `[ConnectedOrganizationId ]`: The unique identifier of connectedOrganization + - `[CustomAccessPackageWorkflowExtensionId ]`: The unique identifier of customAccessPackageWorkflowExtension + - `[CustomCalloutExtensionId ]`: The unique identifier of customCalloutExtension + - `[CustomExtensionHandlerId ]`: The unique identifier of customExtensionHandler + - `[CustomExtensionStageSettingId ]`: The unique identifier of customExtensionStageSetting + - `[CustomTaskExtensionId ]`: The unique identifier of customTaskExtension + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EndDateTime ]`: Usage: endDateTime={endDateTime} + - `[FindingId ]`: The unique identifier of finding + - `[GovernanceInsightId ]`: The unique identifier of governanceInsight + - `[GovernanceResourceId ]`: The unique identifier of governanceResource + - `[GovernanceRoleAssignmentId ]`: The unique identifier of governanceRoleAssignment + - `[GovernanceRoleAssignmentRequestId ]`: The unique identifier of governanceRoleAssignmentRequest + - `[GovernanceRoleDefinitionId ]`: The unique identifier of governanceRoleDefinition + - `[GovernanceRoleSettingId ]`: The unique identifier of governanceRoleSetting + - `[IncompatibleAccessPackageId ]`: Usage: incompatibleAccessPackageId='{incompatibleAccessPackageId}' + - `[LongRunningOperationId ]`: The unique identifier of longRunningOperation + - `[ObjectId ]`: Alternate key of accessPackageSubject + - `[On ]`: Usage: on='{on}' + - `[PermissionsCreepIndexDistributionId ]`: The unique identifier of permissionsCreepIndexDistribution + - `[PermissionsRequestChangeId ]`: The unique identifier of permissionsRequestChange + - `[PrivilegedAccessGroupAssignmentScheduleId ]`: The unique identifier of privilegedAccessGroupAssignmentSchedule + - `[PrivilegedAccessGroupAssignmentScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleInstance + - `[PrivilegedAccessGroupAssignmentScheduleRequestId ]`: The unique identifier of privilegedAccessGroupAssignmentScheduleRequest + - `[PrivilegedAccessGroupEligibilityScheduleId ]`: The unique identifier of privilegedAccessGroupEligibilitySchedule + - `[PrivilegedAccessGroupEligibilityScheduleInstanceId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleInstance + - `[PrivilegedAccessGroupEligibilityScheduleRequestId ]`: The unique identifier of privilegedAccessGroupEligibilityScheduleRequest + - `[PrivilegedAccessId ]`: The unique identifier of privilegedAccess + - `[PrivilegedApprovalId ]`: The unique identifier of privilegedApproval + - `[PrivilegedOperationEventId ]`: The unique identifier of privilegedOperationEvent + - `[PrivilegedRoleAssignmentId ]`: The unique identifier of privilegedRoleAssignment + - `[PrivilegedRoleAssignmentId1 ]`: The unique identifier of privilegedRoleAssignment + - `[PrivilegedRoleAssignmentRequestId ]`: The unique identifier of privilegedRoleAssignmentRequest + - `[PrivilegedRoleId ]`: The unique identifier of privilegedRole + - `[ProgramControlId ]`: The unique identifier of programControl + - `[ProgramControlId1 ]`: The unique identifier of programControl + - `[ProgramControlTypeId ]`: The unique identifier of programControlType + - `[ProgramId ]`: The unique identifier of program + - `[RbacApplicationId ]`: The unique identifier of rbacApplication + - `[RunId ]`: The unique identifier of run + - `[StartDateTime ]`: Usage: startDateTime={startDateTime} + - `[TaskDefinitionId ]`: The unique identifier of taskDefinition + - `[TaskId ]`: The unique identifier of task + - `[TaskProcessingResultId ]`: The unique identifier of taskProcessingResult + - `[TaskReportId ]`: The unique identifier of taskReport + - `[UnifiedRbacResourceActionId ]`: The unique identifier of unifiedRbacResourceAction + - `[UnifiedRbacResourceNamespaceId ]`: The unique identifier of unifiedRbacResourceNamespace + - `[UnifiedRoleAssignmentId ]`: The unique identifier of unifiedRoleAssignment + - `[UnifiedRoleAssignmentScheduleId ]`: The unique identifier of unifiedRoleAssignmentSchedule + - `[UnifiedRoleAssignmentScheduleInstanceId ]`: The unique identifier of unifiedRoleAssignmentScheduleInstance + - `[UnifiedRoleAssignmentScheduleRequestId ]`: The unique identifier of unifiedRoleAssignmentScheduleRequest + - `[UnifiedRoleDefinitionId ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleDefinitionId1 ]`: The unique identifier of unifiedRoleDefinition + - `[UnifiedRoleEligibilityScheduleId ]`: The unique identifier of unifiedRoleEligibilitySchedule + - `[UnifiedRoleEligibilityScheduleInstanceId ]`: The unique identifier of unifiedRoleEligibilityScheduleInstance + - `[UnifiedRoleEligibilityScheduleRequestId ]`: The unique identifier of unifiedRoleEligibilityScheduleRequest + - `[UnifiedRoleManagementAlertConfigurationId ]`: The unique identifier of unifiedRoleManagementAlertConfiguration + - `[UnifiedRoleManagementAlertDefinitionId ]`: The unique identifier of unifiedRoleManagementAlertDefinition + - `[UnifiedRoleManagementAlertId ]`: The unique identifier of unifiedRoleManagementAlert + - `[UnifiedRoleManagementAlertIncidentId ]`: The unique identifier of unifiedRoleManagementAlertIncident + - `[UserConsentRequestId ]`: The unique identifier of userConsentRequest + - `[UserId ]`: The unique identifier of user + - `[UserProcessingResultId ]`: The unique identifier of userProcessingResult + - `[WorkflowId ]`: The unique identifier of workflow + - `[WorkflowTemplateId ]`: The unique identifier of workflowTemplate + - `[WorkflowVersionNumber ]`: The unique identifier of workflowVersion + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.governance/Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef) + +[https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-beta](https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-beta) + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef.md new file mode 100644 index 000000000000..7ba4e5cc0bd6 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef.md @@ -0,0 +1,294 @@ +--- +external help file: Microsoft.Graph.Beta.Identity.SignIns-help.xml +Module Name: Microsoft.Graph.Beta.Identity.SignIns +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.signins/Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef +schema: 2.0.0 +--- + +# Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef + +## SYNOPSIS +Delete ref of navigation property userFlowIdentityProviders for identity + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgIdentityB2XUserFlowIdentityProviderBaseByRef](/powershell/module/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityB2XUserFlowIdentityProviderBaseByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef -B2XIdentityUserFlowId + -IdentityProviderBaseId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Delete ref of navigation property userFlowIdentityProviders for identity + +## PARAMETERS + +### -B2XIdentityUserFlowId +The unique identifier of b2xIdentityUserFlow + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IdentityProviderBaseId +The unique identifier of identityProviderBase + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentitySignInsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IIdentitySignInsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[ActivityBasedTimeoutPolicyId ]`: The unique identifier of activityBasedTimeoutPolicy + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AuthenticationCombinationConfigurationId ]`: The unique identifier of authenticationCombinationConfiguration + - `[AuthenticationConditionApplicationAppId ]`: The unique identifier of authenticationConditionApplication + - `[AuthenticationContextClassReferenceId ]`: The unique identifier of authenticationContextClassReference + - `[AuthenticationEventListenerId ]`: The unique identifier of authenticationEventListener + - `[AuthenticationEventsFlowId ]`: The unique identifier of authenticationEventsFlow + - `[AuthenticationMethodConfigurationId ]`: The unique identifier of authenticationMethodConfiguration + - `[AuthenticationMethodId ]`: The unique identifier of authenticationMethod + - `[AuthenticationMethodModeDetailId ]`: The unique identifier of authenticationMethodModeDetail + - `[AuthenticationMethodModes ]`: Usage: authenticationMethodModes={authenticationMethodModes} + - `[AuthenticationStrengthPolicyId ]`: The unique identifier of authenticationStrengthPolicy + - `[AuthorizationPolicyId ]`: The unique identifier of authorizationPolicy + - `[B2CIdentityUserFlowId ]`: The unique identifier of b2cIdentityUserFlow + - `[B2XIdentityUserFlowId ]`: The unique identifier of b2xIdentityUserFlow + - `[BitlockerRecoveryKeyId ]`: The unique identifier of bitlockerRecoveryKey + - `[CertificateBasedAuthConfigurationId ]`: The unique identifier of certificateBasedAuthConfiguration + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConditionalAccessPolicyId ]`: The unique identifier of conditionalAccessPolicy + - `[ConditionalAccessTemplateId ]`: The unique identifier of conditionalAccessTemplate + - `[CrossTenantAccessPolicyConfigurationPartnerTenantId ]`: The unique identifier of crossTenantAccessPolicyConfigurationPartner + - `[CustomAuthenticationExtensionId ]`: The unique identifier of customAuthenticationExtension + - `[DataLossPreventionPolicyId ]`: The unique identifier of dataLossPreventionPolicy + - `[DataPolicyOperationId ]`: The unique identifier of dataPolicyOperation + - `[DefaultUserRoleOverrideId ]`: The unique identifier of defaultUserRoleOverride + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EmailAuthenticationMethodId ]`: The unique identifier of emailAuthenticationMethod + - `[FeatureRolloutPolicyId ]`: The unique identifier of featureRolloutPolicy + - `[Fido2AuthenticationMethodId ]`: The unique identifier of fido2AuthenticationMethod + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IdentityApiConnectorId ]`: The unique identifier of identityApiConnector + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[IdentityProviderId ]`: The unique identifier of identityProvider + - `[IdentityUserFlowAttributeAssignmentId ]`: The unique identifier of identityUserFlowAttributeAssignment + - `[IdentityUserFlowAttributeId ]`: The unique identifier of identityUserFlowAttribute + - `[IdentityUserFlowId ]`: The unique identifier of identityUserFlow + - `[InformationProtectionLabelId ]`: The unique identifier of informationProtectionLabel + - `[InvitationId ]`: The unique identifier of invitation + - `[LongRunningOperationId ]`: The unique identifier of longRunningOperation + - `[MicrosoftAuthenticatorAuthenticationMethodId ]`: The unique identifier of microsoftAuthenticatorAuthenticationMethod + - `[MobilityManagementPolicyId ]`: The unique identifier of mobilityManagementPolicy + - `[MultiTenantOrganizationMemberId ]`: The unique identifier of multiTenantOrganizationMember + - `[NamedLocationId ]`: The unique identifier of namedLocation + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OrganizationId ]`: The unique identifier of organization + - `[PasswordAuthenticationMethodId ]`: The unique identifier of passwordAuthenticationMethod + - `[PasswordlessMicrosoftAuthenticatorAuthenticationMethodId ]`: The unique identifier of passwordlessMicrosoftAuthenticatorAuthenticationMethod + - `[PermissionGrantConditionSetId ]`: The unique identifier of permissionGrantConditionSet + - `[PermissionGrantPolicyId ]`: The unique identifier of permissionGrantPolicy + - `[PermissionGrantPreApprovalPolicyId ]`: The unique identifier of permissionGrantPreApprovalPolicy + - `[PhoneAuthenticationMethodId ]`: The unique identifier of phoneAuthenticationMethod + - `[PlatformCredentialAuthenticationMethodId ]`: The unique identifier of platformCredentialAuthenticationMethod + - `[RiskDetectionId ]`: The unique identifier of riskDetection + - `[RiskyServicePrincipalHistoryItemId ]`: The unique identifier of riskyServicePrincipalHistoryItem + - `[RiskyServicePrincipalId ]`: The unique identifier of riskyServicePrincipal + - `[RiskyUserHistoryItemId ]`: The unique identifier of riskyUserHistoryItem + - `[RiskyUserId ]`: The unique identifier of riskyUser + - `[SensitivityLabelId ]`: The unique identifier of sensitivityLabel + - `[SensitivityLabelId1 ]`: The unique identifier of sensitivityLabel + - `[ServicePrincipalCreationConditionSetId ]`: The unique identifier of servicePrincipalCreationConditionSet + - `[ServicePrincipalCreationPolicyId ]`: The unique identifier of servicePrincipalCreationPolicy + - `[ServicePrincipalRiskDetectionId ]`: The unique identifier of servicePrincipalRiskDetection + - `[SoftwareOathAuthenticationMethodId ]`: The unique identifier of softwareOathAuthenticationMethod + - `[TemporaryAccessPassAuthenticationMethodId ]`: The unique identifier of temporaryAccessPassAuthenticationMethod + - `[ThreatAssessmentRequestId ]`: The unique identifier of threatAssessmentRequest + - `[ThreatAssessmentResultId ]`: The unique identifier of threatAssessmentResult + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[TrustFrameworkKeySetId ]`: The unique identifier of trustFrameworkKeySet + - `[TrustFrameworkKeyV2Kid ]`: The unique identifier of trustFrameworkKey_v2 + - `[TrustFrameworkPolicyId ]`: The unique identifier of trustFrameworkPolicy + - `[UnifiedRoleManagementPolicyAssignmentId ]`: The unique identifier of unifiedRoleManagementPolicyAssignment + - `[UnifiedRoleManagementPolicyId ]`: The unique identifier of unifiedRoleManagementPolicy + - `[UnifiedRoleManagementPolicyRuleId ]`: The unique identifier of unifiedRoleManagementPolicyRule + - `[UserFlowLanguageConfigurationId ]`: The unique identifier of userFlowLanguageConfiguration + - `[UserFlowLanguagePageId ]`: The unique identifier of userFlowLanguagePage + - `[UserId ]`: The unique identifier of user + - `[WindowsHelloForBusinessAuthenticationMethodId ]`: The unique identifier of windowsHelloForBusinessAuthenticationMethod + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.signins/Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.signins/Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef) + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef.md new file mode 100644 index 000000000000..9933a9728c7b --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Identity.SignIns/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef.md @@ -0,0 +1,308 @@ +--- +external help file: Microsoft.Graph.Beta.Identity.SignIns-help.xml +Module Name: Microsoft.Graph.Beta.Identity.SignIns +online version: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.signins/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef +schema: 2.0.0 +--- + +# Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef + +## SYNOPSIS +Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. + +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgPolicyFeatureRolloutPolicyApplyToDirectoryObjectByRef](/powershell/module/Microsoft.Graph.Identity.SignIns/Remove-MgPolicyFeatureRolloutPolicyApplyToDirectoryObjectByRef?view=graph-powershell-1.0) + +## SYNTAX + +### Delete (Default) +``` +Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef -DirectoryObjectId + -FeatureRolloutPolicyId [-IfMatch ] [-ResponseHeadersVariable ] + [-Headers ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### DeleteViaIdentity +``` +Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef -InputObject + [-IfMatch ] [-ResponseHeadersVariable ] [-Headers ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -DirectoryObjectId $directoryObjectId + +``` +This example shows how to use the Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef Cmdlet. + + +## PARAMETERS + +### -DirectoryObjectId +The unique identifier of directoryObject + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FeatureRolloutPolicyId +The unique identifier of featureRolloutPolicy + +```yaml +Type: String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Headers +Optional headers that will be added to the request. + +```yaml +Type: IDictionary +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -IfMatch +ETag + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: IIdentitySignInsIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResponseHeadersVariable +Optional Response Headers Variable. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: RHV + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IIdentitySignInsIdentity +### System.Collections.IDictionary +## OUTPUTS + +### System.Boolean +## NOTES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + - `[ActivityBasedTimeoutPolicyId ]`: The unique identifier of activityBasedTimeoutPolicy + - `[AppManagementPolicyId ]`: The unique identifier of appManagementPolicy + - `[AuthenticationCombinationConfigurationId ]`: The unique identifier of authenticationCombinationConfiguration + - `[AuthenticationConditionApplicationAppId ]`: The unique identifier of authenticationConditionApplication + - `[AuthenticationContextClassReferenceId ]`: The unique identifier of authenticationContextClassReference + - `[AuthenticationEventListenerId ]`: The unique identifier of authenticationEventListener + - `[AuthenticationEventsFlowId ]`: The unique identifier of authenticationEventsFlow + - `[AuthenticationMethodConfigurationId ]`: The unique identifier of authenticationMethodConfiguration + - `[AuthenticationMethodId ]`: The unique identifier of authenticationMethod + - `[AuthenticationMethodModeDetailId ]`: The unique identifier of authenticationMethodModeDetail + - `[AuthenticationMethodModes ]`: Usage: authenticationMethodModes={authenticationMethodModes} + - `[AuthenticationStrengthPolicyId ]`: The unique identifier of authenticationStrengthPolicy + - `[AuthorizationPolicyId ]`: The unique identifier of authorizationPolicy + - `[B2CIdentityUserFlowId ]`: The unique identifier of b2cIdentityUserFlow + - `[B2XIdentityUserFlowId ]`: The unique identifier of b2xIdentityUserFlow + - `[BitlockerRecoveryKeyId ]`: The unique identifier of bitlockerRecoveryKey + - `[CertificateBasedAuthConfigurationId ]`: The unique identifier of certificateBasedAuthConfiguration + - `[ClaimsMappingPolicyId ]`: The unique identifier of claimsMappingPolicy + - `[ConditionalAccessPolicyId ]`: The unique identifier of conditionalAccessPolicy + - `[ConditionalAccessTemplateId ]`: The unique identifier of conditionalAccessTemplate + - `[CrossTenantAccessPolicyConfigurationPartnerTenantId ]`: The unique identifier of crossTenantAccessPolicyConfigurationPartner + - `[CustomAuthenticationExtensionId ]`: The unique identifier of customAuthenticationExtension + - `[DataLossPreventionPolicyId ]`: The unique identifier of dataLossPreventionPolicy + - `[DataPolicyOperationId ]`: The unique identifier of dataPolicyOperation + - `[DefaultUserRoleOverrideId ]`: The unique identifier of defaultUserRoleOverride + - `[DirectoryObjectId ]`: The unique identifier of directoryObject + - `[EmailAuthenticationMethodId ]`: The unique identifier of emailAuthenticationMethod + - `[FeatureRolloutPolicyId ]`: The unique identifier of featureRolloutPolicy + - `[Fido2AuthenticationMethodId ]`: The unique identifier of fido2AuthenticationMethod + - `[GroupId ]`: The unique identifier of group + - `[HomeRealmDiscoveryPolicyId ]`: The unique identifier of homeRealmDiscoveryPolicy + - `[IdentityApiConnectorId ]`: The unique identifier of identityApiConnector + - `[IdentityProviderBaseId ]`: The unique identifier of identityProviderBase + - `[IdentityProviderId ]`: The unique identifier of identityProvider + - `[IdentityUserFlowAttributeAssignmentId ]`: The unique identifier of identityUserFlowAttributeAssignment + - `[IdentityUserFlowAttributeId ]`: The unique identifier of identityUserFlowAttribute + - `[IdentityUserFlowId ]`: The unique identifier of identityUserFlow + - `[InformationProtectionLabelId ]`: The unique identifier of informationProtectionLabel + - `[InvitationId ]`: The unique identifier of invitation + - `[LongRunningOperationId ]`: The unique identifier of longRunningOperation + - `[MicrosoftAuthenticatorAuthenticationMethodId ]`: The unique identifier of microsoftAuthenticatorAuthenticationMethod + - `[MobilityManagementPolicyId ]`: The unique identifier of mobilityManagementPolicy + - `[MultiTenantOrganizationMemberId ]`: The unique identifier of multiTenantOrganizationMember + - `[NamedLocationId ]`: The unique identifier of namedLocation + - `[OAuth2PermissionGrantId ]`: The unique identifier of oAuth2PermissionGrant + - `[OrganizationId ]`: The unique identifier of organization + - `[PasswordAuthenticationMethodId ]`: The unique identifier of passwordAuthenticationMethod + - `[PasswordlessMicrosoftAuthenticatorAuthenticationMethodId ]`: The unique identifier of passwordlessMicrosoftAuthenticatorAuthenticationMethod + - `[PermissionGrantConditionSetId ]`: The unique identifier of permissionGrantConditionSet + - `[PermissionGrantPolicyId ]`: The unique identifier of permissionGrantPolicy + - `[PermissionGrantPreApprovalPolicyId ]`: The unique identifier of permissionGrantPreApprovalPolicy + - `[PhoneAuthenticationMethodId ]`: The unique identifier of phoneAuthenticationMethod + - `[PlatformCredentialAuthenticationMethodId ]`: The unique identifier of platformCredentialAuthenticationMethod + - `[RiskDetectionId ]`: The unique identifier of riskDetection + - `[RiskyServicePrincipalHistoryItemId ]`: The unique identifier of riskyServicePrincipalHistoryItem + - `[RiskyServicePrincipalId ]`: The unique identifier of riskyServicePrincipal + - `[RiskyUserHistoryItemId ]`: The unique identifier of riskyUserHistoryItem + - `[RiskyUserId ]`: The unique identifier of riskyUser + - `[SensitivityLabelId ]`: The unique identifier of sensitivityLabel + - `[SensitivityLabelId1 ]`: The unique identifier of sensitivityLabel + - `[ServicePrincipalCreationConditionSetId ]`: The unique identifier of servicePrincipalCreationConditionSet + - `[ServicePrincipalCreationPolicyId ]`: The unique identifier of servicePrincipalCreationPolicy + - `[ServicePrincipalRiskDetectionId ]`: The unique identifier of servicePrincipalRiskDetection + - `[SoftwareOathAuthenticationMethodId ]`: The unique identifier of softwareOathAuthenticationMethod + - `[TemporaryAccessPassAuthenticationMethodId ]`: The unique identifier of temporaryAccessPassAuthenticationMethod + - `[ThreatAssessmentRequestId ]`: The unique identifier of threatAssessmentRequest + - `[ThreatAssessmentResultId ]`: The unique identifier of threatAssessmentResult + - `[TokenIssuancePolicyId ]`: The unique identifier of tokenIssuancePolicy + - `[TokenLifetimePolicyId ]`: The unique identifier of tokenLifetimePolicy + - `[TrustFrameworkKeySetId ]`: The unique identifier of trustFrameworkKeySet + - `[TrustFrameworkKeyV2Kid ]`: The unique identifier of trustFrameworkKey_v2 + - `[TrustFrameworkPolicyId ]`: The unique identifier of trustFrameworkPolicy + - `[UnifiedRoleManagementPolicyAssignmentId ]`: The unique identifier of unifiedRoleManagementPolicyAssignment + - `[UnifiedRoleManagementPolicyId ]`: The unique identifier of unifiedRoleManagementPolicy + - `[UnifiedRoleManagementPolicyRuleId ]`: The unique identifier of unifiedRoleManagementPolicyRule + - `[UserFlowLanguageConfigurationId ]`: The unique identifier of userFlowLanguageConfiguration + - `[UserFlowLanguagePageId ]`: The unique identifier of userFlowLanguagePage + - `[UserId ]`: The unique identifier of user + - `[WindowsHelloForBusinessAuthenticationMethodId ]`: The unique identifier of windowsHelloForBusinessAuthenticationMethod + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.signins/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.identity.signins/Remove-MgBetaPolicyFeatureRolloutPolicyApplyToByRef) + +[https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete-appliesto?view=graph-rest-beta](https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete-appliesto?view=graph-rest-beta) + + + + diff --git a/msgraph-sdk-powershell b/msgraph-sdk-powershell index bf5237776479..efcd5a57fb51 160000 --- a/msgraph-sdk-powershell +++ b/msgraph-sdk-powershell @@ -1 +1 @@ -Subproject commit bf523777647903ef7098e0a5dd5d3e98703c08eb +Subproject commit efcd5a57fb51048eb6fdff3fd273bc80bb91a606 diff --git a/scripts/GenerateAliasedDocs.ps1 b/scripts/GenerateAliasedDocs.ps1 new file mode 100644 index 000000000000..97eba9685354 --- /dev/null +++ b/scripts/GenerateAliasedDocs.ps1 @@ -0,0 +1,65 @@ +<# + This script is used for generating the documentation for the Aliased Cmdlets. + The script will generate a markdown file for each Aliased Cmdlet. + This is in response to Issue https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/2691 + caused by backward compatibility measures introduced in PowerShell SDK version 2.19.0. + See related PR for more information. +#> + +function Start-GenerateAliasedDocs { + $BreakingChangeReportV1Report = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/docs/PowerShellBreakingChanges-V1.0.csv") + $BreakingChangeReportBetaReport = (Join-Path $PSScriptRoot "../msgraph-sdk-powershell/docs/PowerShellBreakingChanges-beta.csv") + $Reports = @() + $Reports += $BreakingChangeReportV1Report + $Reports += $BreakingChangeReportBetaReport + foreach ($BreakingChangeReport in $Reports) { + Import-Csv $BreakingChangeReport | ForEach-Object { + $Command = $_."NewCmdlet" + $Alias = $_."OldCmdlet" + Copy-Files -Command $Command -Alias $Alias + } + } +} + +function Copy-Files { + param( + [ValidateNotNullOrEmpty()] + [string] $Command, + [ValidateNotNullOrEmpty()] + [string] $Alias + ) + $GraphProfilePath = "graph-powershell-1.0" + $ModulePrefix = "Microsoft.Graph" + if($Command.Contains("Beta")) { + $GraphProfilePath = "graph-powershell-beta" + $ModulePrefix = "Microsoft.Graph.Beta" + } + try { + $CmdDetails = Find-MgGraphCommand -Command $Command + if($CmdDetails){ + $Module = $CmdDetails.Module + $Module = $Module.Replace("Beta.", "") + $Module = "$ModulePrefix.$Module" + $NewDoc = (Join-Path $PSScriptRoot "../microsoftgraph" $GraphProfilePath $Module "$Command.md") + if(Test-Path $NewDoc) { + $OriginalDoc = (Join-Path $PSScriptRoot "../microsoftgraph" $GraphProfilePath $Module "$Alias.md") + #Create a new file + If (-not(Test-Path -Path $OriginalDoc)) { + New-Item -Path $OriginalDoc -ItemType File + Copy-Item -Path $NewDoc -Destination $OriginalDoc + #Replace all occurrence of $Command with $Alias in the original file + $Content = Get-Content $OriginalDoc + $Content -replace $Command, $Alias | Set-Content $OriginalDoc + } + } + } + } + catch { + Write-Host "`nError Message: " $_.Exception.Message + Write-Host "`nError in Line: " $_.InvocationInfo.Line + Write-Host "`nError in Line Number: "$_.InvocationInfo.ScriptLineNumber + Write-Host "`nError Item Name: "$_.Exception.ItemName + } +} + +Start-GenerateAliasedDocs \ No newline at end of file