IntuneDeviceEnrollmentScopeConfigurationMam¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| IsSingleInstance | Key | String | Only valid value is 'Yes'. | Yes |
| AppliesTo | Write | String | Indicates the user scope of the mobility management policy. The possible values are: none, all, selected. | none, all, selected |
| ComplianceUrl | Write | String | Compliance URL of the mobility management application. | |
| DiscoveryUrl | Write | String | Discovery URL of the mobility management application. | |
| TermsOfUseUrl | Write | String | Terms of Use URL of the mobility management application. | |
| IncludedGroups | Write | StringArray[] | The group display names that are included if the scope is set to 'Selected'. | |
| Credential | Write | PSCredential | Credentials of the Admin | |
| TenantId | Write | String | Id of the Azure Active Directory tenant used for authentication. | |
| AccessTokens | Write | StringArray[] | Access token used for authentication. |
Description¶
Intune Device Enrollment Scope Configuration Mam
Permissions¶
Microsoft Graph¶
To authenticate with the Microsoft Graph API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
Group.Read.All, Policy.Read.All
-
Update
- Group.Read.All, Policy.ReadWrite.MobilityManagement
Application permissions¶
- Read
-
None
-
Update
- None
Examples¶
Example 1¶
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.
Configuration Example
{
param
(
[Parameter()]
[System.Management.Automation.PSCredential]
$Credential
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost
{
IntuneDeviceEnrollmentScopeConfigurationMam "Example"
{
AppliesTo = "selected";
ComplianceUrl = "";
Credential = $Credential;
DiscoveryUrl = "https://wip.mam.manage.microsoft.com/Enroll";
IncludedGroups = @("AADGroup_1","AADGroup_3"); # Updated property
IsSingleInstance = "Yes";
TermsOfUseUrl = "";
}
}
}