Microsoft Endpoint Manager 将首选项文件部署到受监督的 MacBook 时出错

问题描述 投票:0回答:3

通过 MS Endpoint Manager(“Intune”)将首选项文件(“.plist”)部署到受监督的 MacBook Pro 时,出现错误:

  • 设置名称:ConfigurationXmlPcl
  • 错误代码:-2016341103 和 0x87d11391

这是我正在使用的首选项文件:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>EnableMediaRouter</key>
        <false />
        <key>HomepageLocation</key>
        <string>https://somesubdomain.sharepoint.com</string>
        <key>NewTabPageSearchBox</key>
        <string>redirect</string>
        <key>PasswordManagerEnabled</key>
        <false />
        <key>PasswordProtectionChangePasswordURL</key>
        <string>https://passwordreset.somedomain.com</string>
    </dict>
</plist>

尝试搜索设置和错误代码,但找不到与 Intune 相关的任何内容。

任何朝正确方向的推动都值得赞赏。

macos mdm intune
3个回答
0
投票

除了尝试推送 Zoom 配置之外,我遇到了相同的问题和错误代码。

我能够通过删除所有附加标签(、等)并仅保留值来解决此问题。例如我编辑的 .plist 看起来像这样:

<key>ZAutoSSOLogin</key>
<false/>
<key>ZSSOHost</key>
<string>******.zoom.us</string>

此外,我的“偏好域名”/应用程序 ID 错误,必须更正它(输入了 us.zoom.voice,Zoom for Mac 的实际应用程序 ID 是 us.zoom.xos。)

希望这有帮助。


0
投票

您如何设法将“PackageRecommand”设置与所有其他设置一起定义到您的首选项文件中。

我知道微软说不包括任何字典括号,但我没有看到任何其他方法来获取所有设置,我遵循了 Zoom 文章。

例如,我的首选项文件如下所示

<dict>
    <key>nogoogle</key>
    <true/>
    <key>nofacebook</key>
    <true/>
    <key>NoSSO</key>
    <true/>
    <key>KeepSignedIn</key>
    <true/>
    <key>zAutoUpdate</key>
    <true/>
    <key>EnableSilentAutoUpdate</key>
    <true/>
    <key>AlwaysCheckLatestVersion</key>
    <true/>
    <key>disableDaemonInstall</key>
    <false/>
    <key>Login_Domain</key>
        <string>CorrectDomainName</string>
    <key>EnableMirrorEffect</key>
        <true/>     
    <key>PackageRecommend</key>
        <dict>
            <key>ZDisableVideo</key>
            <false/>
            <key>DisableComputerAudio</key>
            <false/>
            <key>MuteWhenLockScreen</key>
            <true/>         
            <key>ZAutoJoinVoip</key>
            <false/>
            <key>AudioAutoAdjust</key>
            <true/>
            <key>ZDualMonitorOn</key>
            <false/>
            <key>ZAutoFullScreenWhenViewShare</key>
            <false/>
            <key>ZAutoFitWhenViewShare</key>
            <true/>
            <key>zDisableAnnotation</key>
            <false/>
            <key>EnableDoNotDisturbInSharing</key>
            <true/>
            <key>DisableWhiteboard</key>
            <false/>            
            <key>EnableShareVideo</key>
            <true/>         
            <key>EnableShareAudio</key>
            <true/>         
            <key>FullScreenWhenJoin</key>
            <false/>            
            <key>AutoHideToolbar</key>
            <false/>            
            <key>ZUse720PByDefault</key>
            <false/>            
            <key>zRemoteControllAllApp</key>
            <true/>
            <key>ConfirmWhenLeave</key>
            <true/>
            <key>DisableScreenShare</key>
            <true/>
            <key>SetSuppressBackgroundNoiseLevel</key>
                <string>0</string>
        </dict>
</dict>

0
投票

以防万一其他人正在寻找答案。 创建配置文件作为模板并选择首选项文件。 编辑 xml 中的所有 .plist 代码,这样您就只剩下:

<key>name</key>
<value</>

例如:

<key>BrowserSignin</key>
<integer>2</integer>
<key>DefaultSearchProviderEnabled</key>
<true/>
<key>DefaultSearchProviderSearchURL</key>
<string>https://google.com/search?q={searchTerms}</string>
<key>ForceSync</key>
<true/>
<key>HideFirstRunExperience</key>
<true/>
<key>HubsSidebarEnabled</key>
<false/>

然后部署时不会出现 0x87d11391 错误。

© www.soinside.com 2019 - 2024. All rights reserved.