You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After saving your xxxx.mobileconfig file, open System Preferences on your mac.
Go to General > Device Management and add your profile with the +
Testing
Ensure you are testing with commit c9d6f0899b5d3d8fd6ae46b907216d15c41a0349!
Now when you launch the special build of Insiders from above, the policy will take effect.
Here are some screenshots of what to look for in the UI:
Most of the .mobileconfig file is not interesting to edit. Two properties you may want to edit is:
the JSON value AllowedExtensions
the enum value UpdateMode
Simply edit the XML with a text editor. You will want to remove previous profiles first and then re-add your new profile just like above. Applying a new profile should be picked up automatically without needing to re-launch VS Code.
Ensure that:
You see the effect the profile has applied in VS Code
You cannot circumvent the configuration without uninstalling the profile
Changes are picked up immediately when updating the profile
No weird crashes or behavior is observed
The text was updated successfully, but these errors were encountered:
Refs: #148942
Complexity: 3
Create Issue
This TPI implements device management for macOS.
I suggest you read these docs before continuing to see how the feature works in Windows. For your reference this was the Windows TPI testing the same feature.
❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗
You must use this dev build of Insiders
VS Code Build: c9d6f08
darwin: https://vscode.download.prss.microsoft.com/dbazure/download/insider/c9d6f0899b5d3d8fd6ae46b907216d15c41a0349/VSCode-darwin.zip
darwin-arm64: https://vscode.download.prss.microsoft.com/dbazure/download/insider/c9d6f0899b5d3d8fd6ae46b907216d15c41a0349/VSCode-darwin-arm64.zip
❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗❗
You'll then want to get yourself a
.mobileconfig
file. These files are XML that encode our policy.You'll see below that the configuration file has two policies (feel free to customize):
AllowExtensions
=>{"github": true, "joshspicer": true, "ms-vscode-remote.remote-ssh": true}
UpdateMode
=>Manual
Setup
Save this file to your mac with the name
insiders-profile.mobileconfig
.xxxx.mobileconfig
file, open System Preferences on your mac.General > Device Management
and add your profile with the+
Testing
Now when you launch the special build of Insiders from above, the policy will take effect.
Here are some screenshots of what to look for in the UI:
Most of the
.mobileconfig
file is not interesting to edit. Two properties you may want to edit is:AllowedExtensions
UpdateMode
Simply edit the XML with a text editor. You will want to remove previous profiles first and then re-add your new profile just like above. Applying a new profile should be picked up automatically without needing to re-launch VS Code.
Ensure that:
The text was updated successfully, but these errors were encountered: