Set-MgBetaDeviceManagementResourceAccessProfile

Invoke action assign

Syntax

Set-MgBetaDeviceManagementResourceAccessProfile
   -DeviceManagementResourceAccessProfileBaseId <String>
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-Assignments <IMicrosoftGraphDeviceManagementResourceAccessProfileAssignment[]>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-MgBetaDeviceManagementResourceAccessProfile
   -DeviceManagementResourceAccessProfileBaseId <String>
   -BodyParameter <IPaths16HigzcDevicemanagementResourceaccessprofilesDevicemanagementresourceaccessprofilebaseIdMicrosoftGraphAssignPostRequestbodyContentApplicationJsonSchema>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-MgBetaDeviceManagementResourceAccessProfile
   -InputObject <IDeviceManagementActionsIdentity>
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-Assignments <IMicrosoftGraphDeviceManagementResourceAccessProfileAssignment[]>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-MgBetaDeviceManagementResourceAccessProfile
   -InputObject <IDeviceManagementActionsIdentity>
   -BodyParameter <IPaths16HigzcDevicemanagementResourceaccessprofilesDevicemanagementresourceaccessprofilebaseIdMicrosoftGraphAssignPostRequestbodyContentApplicationJsonSchema>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Invoke action assign

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Assignments

. To construct, see NOTES section for ASSIGNMENTS properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementResourceAccessProfileAssignment[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IPaths16HigzcDevicemanagementResourceaccessprofilesDevicemanagementresourceaccessprofilebaseIdMicrosoftGraphAssignPostRequestbodyContentApplicationJsonSchema
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeviceManagementResourceAccessProfileBaseId

The unique identifier of deviceManagementResourceAccessProfileBase

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IDeviceManagementActionsIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IDeviceManagementActionsIdentity

Microsoft.Graph.Beta.PowerShell.Models.IPaths16HigzcDevicemanagementResourceaccessprofilesDevicemanagementresourceaccessprofilebaseIdMicrosoftGraphAssignPostRequestbodyContentApplicationJsonSchema

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementResourceAccessProfileAssignment

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.

ASSIGNMENTS <IMicrosoftGraphDeviceManagementResourceAccessProfileAssignment- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Intent <DeviceManagementResourceAccessProfileIntent?>]: The administrator intent for the assignment of the profile.
  • [SourceId <String>]: The identifier of the source of the assignment.
  • [Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]: Base type for assignment targets.
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DeviceAndAppManagementAssignmentFilterId <String>]: The Id of the filter for the target assignment.
    • [DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]: Represents type of the assignment filter.

BODYPARAMETER <IPaths16HigzcDevicemanagementResourceaccessprofilesDevicemanagementresourceaccessprofilebaseIdMicrosoftGraphAssignPostRequestbodyContentApplicationJsonSchema>: .

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Assignments <IMicrosoftGraphDeviceManagementResourceAccessProfileAssignment- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Intent <DeviceManagementResourceAccessProfileIntent?>]: The administrator intent for the assignment of the profile.
    • [SourceId <String>]: The identifier of the source of the assignment.
    • [Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]: Base type for assignment targets.
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DeviceAndAppManagementAssignmentFilterId <String>]: The Id of the filter for the target assignment.
      • [DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]: Represents type of the assignment filter.

INPUTOBJECT <IDeviceManagementActionsIdentity>: Identity Parameter

  • [AlertRecordId <String>]: The unique identifier of alertRecord
  • [AndroidDeviceOwnerEnrollmentProfileId <String>]: The unique identifier of androidDeviceOwnerEnrollmentProfile
  • [AndroidForWorkEnrollmentProfileId <String>]: The unique identifier of androidForWorkEnrollmentProfile
  • [AppLogCollectionRequestId <String>]: The unique identifier of appLogCollectionRequest
  • [AppleUserInitiatedEnrollmentProfileId <String>]: The unique identifier of appleUserInitiatedEnrollmentProfile
  • [CertificateConnectorDetailsId <String>]: The unique identifier of certificateConnectorDetails
  • [CloudPcDeviceImageId <String>]: The unique identifier of cloudPcDeviceImage
  • [CloudPcId <String>]: The unique identifier of cloudPC
  • [CloudPcOnPremisesConnectionId <String>]: The unique identifier of cloudPcOnPremisesConnection
  • [CloudPcProvisioningPolicyId <String>]: The unique identifier of cloudPcProvisioningPolicy
  • [CloudPcUserSettingId <String>]: The unique identifier of cloudPcUserSetting
  • [DataSharingConsentId <String>]: The unique identifier of dataSharingConsent
  • [DepOnboardingSettingId <String>]: The unique identifier of depOnboardingSetting
  • [DeviceCompliancePolicyId <String>]: The unique identifier of deviceCompliancePolicy
  • [DeviceComplianceScriptId <String>]: The unique identifier of deviceComplianceScript
  • [DeviceConfigurationId <String>]: The unique identifier of deviceConfiguration
  • [DeviceCustomAttributeShellScriptId <String>]: The unique identifier of deviceCustomAttributeShellScript
  • [DeviceEnrollmentConfigurationId <String>]: The unique identifier of deviceEnrollmentConfiguration
  • [DeviceHealthScriptId <String>]: The unique identifier of deviceHealthScript
  • [DeviceLogCollectionResponseId <String>]: The unique identifier of deviceLogCollectionResponse
  • [DeviceManagementCompliancePolicyId <String>]: The unique identifier of deviceManagementCompliancePolicy
  • [DeviceManagementConfigurationPolicyId <String>]: The unique identifier of deviceManagementConfigurationPolicy
  • [DeviceManagementExchangeConnectorId <String>]: The unique identifier of deviceManagementExchangeConnector
  • [DeviceManagementIntentId <String>]: The unique identifier of deviceManagementIntent
  • [DeviceManagementPartnerId <String>]: The unique identifier of deviceManagementPartner
  • [DeviceManagementResourceAccessProfileBaseId <String>]: The unique identifier of deviceManagementResourceAccessProfileBase
  • [DeviceManagementReusablePolicySettingId <String>]: The unique identifier of deviceManagementReusablePolicySetting
  • [DeviceManagementScriptId <String>]: The unique identifier of deviceManagementScript
  • [DeviceManagementTemplateId <String>]: The unique identifier of deviceManagementTemplate
  • [DeviceManagementTemplateId1 <String>]: The unique identifier of deviceManagementTemplate
  • [DeviceShellScriptId <String>]: The unique identifier of deviceShellScript
  • [EmbeddedSimActivationCodePoolId <String>]: The unique identifier of embeddedSIMActivationCodePool
  • [EnrollmentProfileId <String>]: The unique identifier of enrollmentProfile
  • [GroupPolicyConfigurationId <String>]: The unique identifier of groupPolicyConfiguration
  • [GroupPolicyMigrationReportId <String>]: The unique identifier of groupPolicyMigrationReport
  • [GroupPolicyUploadedDefinitionFileId <String>]: The unique identifier of groupPolicyUploadedDefinitionFile
  • [HardwareConfigurationId <String>]: The unique identifier of hardwareConfiguration
  • [IntuneBrandingProfileId <String>]: The unique identifier of intuneBrandingProfile
  • [ManagedDeviceId <String>]: The unique identifier of managedDevice
  • [MicrosoftTunnelServerId <String>]: The unique identifier of microsoftTunnelServer
  • [MicrosoftTunnelServerLogCollectionResponseId <String>]: The unique identifier of microsoftTunnelServerLogCollectionResponse
  • [MicrosoftTunnelSiteId <String>]: The unique identifier of microsoftTunnelSite
  • [MobileAppTroubleshootingEventId <String>]: The unique identifier of mobileAppTroubleshootingEvent
  • [NotificationMessageTemplateId <String>]: The unique identifier of notificationMessageTemplate
  • [OperationApprovalRequestId <String>]: The unique identifier of operationApprovalRequest
  • [PrivilegeManagementElevationRequestId <String>]: The unique identifier of privilegeManagementElevationRequest
  • [RemoteAssistancePartnerId <String>]: The unique identifier of remoteAssistancePartner
  • [RoleScopeTagId <String>]: The unique identifier of roleScopeTag
  • [WindowsAutopilotDeploymentProfileId <String>]: The unique identifier of windowsAutopilotDeploymentProfile
  • [WindowsAutopilotDeviceIdentityId <String>]: The unique identifier of windowsAutopilotDeviceIdentity
  • [WindowsDriverUpdateProfileId <String>]: The unique identifier of windowsDriverUpdateProfile
  • [WindowsFeatureUpdateProfileId <String>]: The unique identifier of windowsFeatureUpdateProfile
  • [WindowsQualityUpdatePolicyId <String>]: The unique identifier of windowsQualityUpdatePolicy
  • [WindowsQualityUpdateProfileId <String>]: The unique identifier of windowsQualityUpdateProfile
  • [ZebraFotaDeploymentId <String>]: The unique identifier of zebraFotaDeployment