Hello @Oleg Tserkovnyuk
I have reviewed the request and understand that you would like to confirm if there is any PowerShell command to edit/manage Mobility (MDM and MAM) settings available in Azure Portal.
We would like to confirm that as of today there is no PowerShell command which would be able to manage or update these settings, however you can use following MS Graph calls to manage these settings. I would request you to please review following API queries that can be used from Microsoft Graph:
- GET https://graph.microsoft.com/beta/policies/mobileDeviceManagementPolicies/0000000a-0000-0000-c000-000000000000
- Documentation Reference: https://learn.microsoft.com/en-us/graph/api/mobiledevicemanagementpolicies-get?view=graph-rest-beta&tabs=http
- PATCH https://graph.microsoft.com/beta/policies/mobileDeviceManagementPolicies/0000000a-0000-0000-c000-000000000000
- JSON Workload: { "appliesTo": "all" }
- Documentation Reference: https://learn.microsoft.com/en-us/graph/api/mobiledevicemanagementpolicies-update?view=graph-rest-beta&tabs=http
I hope this answers your question.
----------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.