IntuneManagement
Now, download "Intune Management" from "https://github.com/Micke-K/IntuneManagement", and copy all files to the "intunemanagement" file share.
Because we want "IntuneManagement" to run unattended, we will have to create 2 json files:
- BulkDocumentation.json
- BulkExport.json
BulkDocumentation.json
BulkExport.json
{
"BulkExport": [
{
"Name": "txtExportPath",
"Value": "C:\\Intune\\IntuneManagement\\Backup\\%Date%"
},
{
"Name": "txtExportNameFilter",
"Value": ""
},
{
"Name": "chkAddObjectType",
"Value": true
},
{
"Name": "chkExportAssignments",
"Value": true
},
{
"Name": "chkAddCompanyName",
"Value": true
},
{
"Name": "chkExportScript",
"Value": true
},
{
"Name": "chkExportApplicationFile",
"Value": true
},
{
"Name": "chkExportPolicyFile",
"Value": true
},
{
"Name": "ObjectTypes",
"Type": "Custom",
"ObjectTypes": [
"AdministrativeTemplates",
"ADMXFiles",
"AndroidOEMConfig",
"AppConfigurationManagedApp",
"AppConfigurationManagedDevice",
"AppProtection",
"AppleEnrollmentTypes",
"Applications",
"AuthenticationContext",
"AuthenticationStrengths",
"AutoPilot",
"AzureBranding",
"HardwareConfigurations",
"CoManagementSettings",
"CompliancePolicies",
"CompliancePoliciesV2",
"ComplianceScripts",
"ConditionalAccess",
"MacCustomAttributes",
"DeviceCategories",
"DeviceConfiguration",
"DriverUpdateProfiles",
"EndpointSecurity",
"EnrollmentRestrictions",
"EnrollmentStatusPage",
"FeatureUpdates",
"AssignmentFilters",
"DeviceHealthScripts",
"IntuneBranding",
"InventoryPolicies",
"NamedLocations",
"Notifications",
"PolicySets",
"QualityUpdates",
"ReusableSettings",
"RoleDefinitions",
"ScopeTags",
"PowerShellScripts",
"MacScripts",
"SettingsCatalog",
"TermsAndConditions",
"TermsOfUse",
"UpdatePolicies",
"W365ProvisioningPolicies",
"W365UserSettings"
]
}
]
}
Then we are ready for the Automation Account.
No comments:
Post a Comment