gpt4 book ai didi

ios - RemoveProfile 命令在 iOS MDM 协议(protocol)中不起作用

转载 作者:行者123 更新时间:2023-11-29 10:52:35 25 4
gpt4 key购买 nike

我正在尝试取消注册我使用 Apple 描述的 OTA 注册注册的 iOS 设备。但是,当我向以该 MDM 配置文件标识符为目标的设备发送 RemoveProfile 命令时,我收到一条错误消息,提示“配置文件“xxxxxxxxx”不受 MDM 管理”。这对我实现取消注册 OTA 是必要的。请帮忙。提前致谢...这是安装在我的设备中的配置文件:

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ConsentText</key>
<dict>
<key>default</key>
<string>Espere mientras se instala el perfil</string>
</dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>Challenge</key>
<string>594EA2E1A5D1C883EF3BA2EA3B36A670</string>
<key>Key Type</key>
<string>RSA</string>
<key>Key Usage</key>
<integer>0</integer>
<key>Keysize</key>
<integer>2048</integer>
<key>Name</key>
<string>MDM-MYCANAME-CA</string>
<key>Retries</key>
<integer>3</integer>
<key>RetryDelay</key>
<integer>10</integer>
<key>Subject</key>
<array>
<array>
<array>
<string>O</string>
<string>MyCompany</string>
</array>
</array>
<array>
<array>
<string>CN</string>
<string>1</string>
</array>
</array>
</array>
<key>URL</key>
<string>https://myWindowsServerCA/certsrv/mscep/mscep.dll</string>
</dict>
<key>PayloadDescription</key>
<string>Configures SCEP</string>
<key>PayloadDisplayName</key>
<string>SCEP (MDM-MYCOMPANY-CA)</string>
<key>PayloadIdentifier</key>
<string>com.mycompany.SCEP.scep1</string>
<key>PayloadOrganization</key>
<string>My Company Name</string>
<key>PayloadType</key>
<string>com.apple.security.scep</string>
<key>PayloadUUID</key>
<string>B4FAD671-FD52-48CD-B342-5EE557055CAC</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
<dict>
<key>AccessRights</key>
<integer>8191</integer>
<key>CheckInURL</key>
<string>https://mycheckinurl.com/WS/Mobile/iOSEnrollmentHandler.ashx?ec=1000156</string>
<key>CheckOutWhenRemoved</key>
<true/>
<key>IdentityCertificateUUID</key>
<string>B4FAD671-FD52-48C‚eD-B342-5EE557055CAC</string>
<key>PayloadDescription</key>
<string>Configures MobileDeviceManagement.</string>
<key>PayloadIdentifier</key>
<string>com.mycompany.AMDM.mdm1</string>
<key>PayloadOrganization</key>
<string>My Company Name</string>
<key>PayloadType</key>
<string>com.apple.mdm</string>
<key>PayloadUUID</key>
<string>5274CA69-3F9F-4E3D-A601-761E304AA84F</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>ServerURL</key>
<string>https://myserverurl/WS/Mobile/iOSCommandHandler.ashx?ec=1000156</string>
<key>SignMessage</key>
<true/>
<key>Topic</key>
<string>com.apple.mgmt.External.8be7fb6b-321e-4c77-ac24-2055c8519fe4</string>
<key>UseDevelopmentAPNS</key>
<false/>
</dict>
</array>
<key>PayloadDescription</key>
<string>Perfil MDM para control de dispositivos</string>
<key>PayloadDisplayName</key>
<string>MYCOMPANYMDM</string>
<key>PayloadIdentifier</key>
<string>com.mycompany.AMDM</string>
<key>PayloadOrganization</key>
<string>My company name</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>30232328-7BF6-4A37-9642-D07F50BFF28F</string>
<key>PayloadVersion</key>
<integer>1</integer>

最佳答案

这是正确的行为。您的初始配置文件不是通过 MDM 安装的。它是通过 OTA 安装的。

如果你想取消注册一个设备,当设备将登记到服务器以获取下一个命令时,你应该返回错误 401(未授权)。

关于ios - RemoveProfile 命令在 iOS MDM 协议(protocol)中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19839345/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com