Open ajh0912 opened 2 weeks ago
The comment here implies there is an adminaccountname variable. https://github.com/microsoft/shell-intune-samples/blob/5f2f27f919e8504456f4dbaabd86d67ce704992a/macOS/Config/Manage%20Accounts/downgradeUsertoStandard.sh#L23
adminaccountname
But L83 is hard coded to the string ‘admin’. https://github.com/microsoft/shell-intune-samples/blob/5f2f27f919e8504456f4dbaabd86d67ce704992a/macOS/Config/Manage%20Accounts/downgradeUsertoStandard.sh#L81-L90
The comment here implies there is an
adminaccountname
variable. https://github.com/microsoft/shell-intune-samples/blob/5f2f27f919e8504456f4dbaabd86d67ce704992a/macOS/Config/Manage%20Accounts/downgradeUsertoStandard.sh#L23But L83 is hard coded to the string ‘admin’. https://github.com/microsoft/shell-intune-samples/blob/5f2f27f919e8504456f4dbaabd86d67ce704992a/macOS/Config/Manage%20Accounts/downgradeUsertoStandard.sh#L81-L90