Post

Replies

Boosts

Views

Activity

macOS 27.2.1: Setup Assistant skips ADE after Apple Configurator despite profile assignment before boot
We're seeing a reproducible Automated Device Enrollment (ADE) issue on macOS 27.2.1 after adding a Mac to Apple Business with Apple Configurator for iPhone. The ADE profile is already assigned before the Mac powers on, but Setup Assistant skips Remote Management. Could Apple Device Management engineering correlate the request IDs below and help us determine why Setup Assistant does not retry? Environment MacBook Pro (14-inch, M5), macOS 27.2.1 (26B131) Apple Configurator for iPhone, Apple Business, self-hosted MDM (NanoDEP/NanoMDM) Wi-Fi during Setup Assistant Steps to reproduce Add the Mac to Apple Business using Apple Configurator for iPhone. After Configurator reports success, shut down the Mac as prompted. While the Mac is off, use the ADE Device Details API to verify that the intended profile is assigned. Power on the Mac and connect to Wi-Fi in Setup Assistant. Do not run profiles renew during this test. Expected: Setup Assistant discovers the assigned ADE profile and shows Remote Management. Actual: Setup Assistant goes directly to Create a Computer Account. No Remote Management screen appears. Evidence from November 22, 2026 Times below are UTC+8 unless marked Z. The two request IDs are from actual teslad requests during the Configurator stage, not from connectivity probes or a manual renew. TimeEvidence22:10:01Before scanning, the ADE Device Details API returned NOT_ACCESSIBLE for this device.22:13:31.592 (14:13:31.592Z)The TLS handshake completed. Apple returned HTTP 200, but the ADE result was DEVICE_NOT_FOUND (MCCloudConfigurationErrorDomain, code 33025). X-Apple-Request-UUID: b045315a-7f25-4e4a-bf06-143484315ade22:14:24.192 (14:14:24.192Z)A subsequent Apple HTTP 200 response was logged as PROVISIONAL_ENROLLMENT. Setup Assistant then logged No cloud config. X-Apple-Request-UUID: 2ef9e0ee-953d-4ed1-b9b8-818d5e04c57522:14:37The Mac logged a successful shutdown.22:15:33Apple recorded profile_assign_time: 2026-11-22T14:15:33Z. The pre-boot Device Details response showed SUCCESS, assigned, and the expected profile UUID.22:16:21We powered on the Mac, 48 seconds after the profile assignment timestamp.22:22:18The Device Details query started after the Mac joined Wi-Fi still returned assigned with the same profile UUID and assignment timestamp. The response had no profile_push_time.Selected Mac log messages (metadata omitted): 22:16:29.814 mdmclient: CloudConfig: Device enrollment record info unavailable - cache hit returns NO 22:19:25.933 Setup Assistant: CloudConfigurationManager: Network reachable. 22:19:25.933 Setup Assistant: CloudConfiguration: Skipping get of cloud configuration because: device is not registered with DEP 22:19:25.933 Setup Assistant: CloudConfig: Device enrollment record info unavailable - cache hit returns NO 22:23:54.691 Setup Assistant: Next Pane -- to CreateUserAccountWe did not see a fresh teslad ADE request after boot in the collected logs. Our filtered server logs showed neither a POST to the MDM enrollment endpoint nor an Authenticate event for this run. At 22:30, profiles status -type enrollment reported Enrolled via DEP: No and MDM enrollment: No. Comparison: Setup Assistant retrieved the ADE profile automatically in our macOS 26.6 tests. The available 26.6 log starts after the Configurator scan, so it is not a complete like-for-like trace. On the affected macOS 27 Macs, running sudo profiles renew -type enrollment from the desktop consistently brings up Remote Management. That confirms the prompt appears, not that enrollment completed. Questions for Apple Could you correlate the two X-Apple-Request-UUID values with your service logs and check what device and profile state the ADE service saw? Was the assignment visible to the service that answers Mac enrollment lookups by 14:19:25 UTC, when Setup Assistant reported the network was reachable? What should cause Setup Assistant to refresh a negative ADE cache entry once the profile has been assigned? Is skipping the lookup on the next boot expected on macOS 27.2.1 in this sequence? Is there a supported way to trigger that recheck before creating a local account, without first completing Setup Assistant and running profiles renew from the desktop? We can provide the original macOS log archive and Device Details responses privately through Feedback Assistant.
2
0
365
17h
Can a Developer ID Packet Tunnel System Extension access a hardware-bound ACME identity from a managed VPN profile?
I’m developing a macOS VPN app distributed directly with Developer ID. Its NEPacketTunnelProvider is packaged as a System Extension (packet-tunnel-provider-systemextension). On macOS 15.6 (24G84), I installed a configuration profile containing: A com.apple.security.acme payload with HardwareBound=true, Attest=true, and a P-256 key. A com.apple.vpn.managed payload whose PayloadCertificateUUID references that ACME payload. VPNSubType and ProviderBundleIdentifier identify my app and provider. macOS issued the certificate, and the managed VPN starts the provider. In startTunnel, protocolConfiguration.identityReference is non-nil (20 bytes). However, resolving it in the provider returns -25291 (errSecNotAvailable): `let query: [CFString: Any] = [ kSecClass: kSecClassIdentity, kSecValuePersistentRef: identityReference, kSecUseDataProtectionKeychain: true, kSecReturnRef: true, kSecMatchLimit: kSecMatchLimitOne ] var result: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &result) The containing app receives the same non-nil reference, but its identity query returns -25306. Neither binary currently has the com.apple.managed.vpn.shared keychain access group; I understand that this group requires a separate managed capability. An Apple Device Management Engineer states that third-party processes cannot access hardware-bound ACME identities in the Data Protection Keychain, with an exception for VPN extensions. The NETunnelProviderManager documentation says that apps and Packet Tunnel Providers need com.apple.managed.vpn.shared to use credentials supplied by configuration profiles. Is com.apple.managed.vpn.shared the supported way for a Developer ID Packet Tunnel System Extension to resolve this specific hardware-bound ACME identity? If granted, should the provider use the query above, or another public API? Does the VPN-extension exception apply when the System Extension runs outside the logged-in user’s keychain context? If this is unsupported for a System Extension, what is the supported approach for a directly distributed Developer ID VPN app to perform client authentication with this non-exportable key? I need a usable SecIdentity or signing operation, not the private-key bytes.
2
0
3.2k
Oct ’26
Can a Developer ID Packet Tunnel System Extension access a hardware-bound ACME identity from a managed MDM Device??
I’m developing a macOS VPN app distributed directly with Developer ID. Its NEPacketTunnelProvider is packaged as a System Extension (packet-tunnel-provider-systemextension). On macOS 15.6 (24G84), I installed a configuration profile containing: A com.apple.security.acme payload with HardwareBound=true, Attest=true, and a P-256 key. A com.apple.vpn.managed payload whose PayloadCertificateUUID references that ACME payload. VPNSubType and ProviderBundleIdentifier identify my app and provider. macOS issued the certificate, and the managed VPN starts the provider. In startTunnel, protocolConfiguration.identityReference is non-nil (20 bytes). However, resolving it in the provider returns -25291 (errSecNotAvailable): let query: [CFString: Any] = [ kSecClass: kSecClassIdentity, kSecValuePersistentRef: identityReference, kSecUseDataProtectionKeychain: true, kSecReturnRef: true, kSecMatchLimit: kSecMatchLimitOne ] var result: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &result) The containing app receives the same non-nil reference, but its identity query returns -25306. Neither binary currently has the com.apple.managed.vpn.shared keychain access group; I understand that this group requires a separate managed capability. An Apple Device Management Engineer states that third-party processes cannot access hardware-bound ACME identities in the Data Protection Keychain, with an exception for VPN extensions. The NETunnelProviderManager documentation says that apps and Packet Tunnel Providers need com.apple.managed.vpn.shared to use credentials supplied by configuration profiles. Is com.apple.managed.vpn.shared the supported way for a Developer ID Packet Tunnel System Extension to resolve this specific hardware-bound ACME identity? If granted, should the provider use the query above, or another public API? Does the VPN-extension exception apply when the System Extension runs outside the logged-in user’s keychain context? If this is unsupported for a System Extension, what is the supported approach for a directly distributed Developer ID VPN app to perform client authentication with this non-exportable key? I need a usable SecIdentity or signing operation, not the private-key bytes. so, how can I access a hardware-bound ACME identity?
1
0
714
Oct ’26
macOS 27.2.1: Setup Assistant skips ADE after Apple Configurator despite profile assignment before boot
We're seeing a reproducible Automated Device Enrollment (ADE) issue on macOS 27.2.1 after adding a Mac to Apple Business with Apple Configurator for iPhone. The ADE profile is already assigned before the Mac powers on, but Setup Assistant skips Remote Management. Could Apple Device Management engineering correlate the request IDs below and help us determine why Setup Assistant does not retry? Environment MacBook Pro (14-inch, M5), macOS 27.2.1 (26B131) Apple Configurator for iPhone, Apple Business, self-hosted MDM (NanoDEP/NanoMDM) Wi-Fi during Setup Assistant Steps to reproduce Add the Mac to Apple Business using Apple Configurator for iPhone. After Configurator reports success, shut down the Mac as prompted. While the Mac is off, use the ADE Device Details API to verify that the intended profile is assigned. Power on the Mac and connect to Wi-Fi in Setup Assistant. Do not run profiles renew during this test. Expected: Setup Assistant discovers the assigned ADE profile and shows Remote Management. Actual: Setup Assistant goes directly to Create a Computer Account. No Remote Management screen appears. Evidence from November 22, 2026 Times below are UTC+8 unless marked Z. The two request IDs are from actual teslad requests during the Configurator stage, not from connectivity probes or a manual renew. TimeEvidence22:10:01Before scanning, the ADE Device Details API returned NOT_ACCESSIBLE for this device.22:13:31.592 (14:13:31.592Z)The TLS handshake completed. Apple returned HTTP 200, but the ADE result was DEVICE_NOT_FOUND (MCCloudConfigurationErrorDomain, code 33025). X-Apple-Request-UUID: b045315a-7f25-4e4a-bf06-143484315ade22:14:24.192 (14:14:24.192Z)A subsequent Apple HTTP 200 response was logged as PROVISIONAL_ENROLLMENT. Setup Assistant then logged No cloud config. X-Apple-Request-UUID: 2ef9e0ee-953d-4ed1-b9b8-818d5e04c57522:14:37The Mac logged a successful shutdown.22:15:33Apple recorded profile_assign_time: 2026-11-22T14:15:33Z. The pre-boot Device Details response showed SUCCESS, assigned, and the expected profile UUID.22:16:21We powered on the Mac, 48 seconds after the profile assignment timestamp.22:22:18The Device Details query started after the Mac joined Wi-Fi still returned assigned with the same profile UUID and assignment timestamp. The response had no profile_push_time.Selected Mac log messages (metadata omitted): 22:16:29.814 mdmclient: CloudConfig: Device enrollment record info unavailable - cache hit returns NO 22:19:25.933 Setup Assistant: CloudConfigurationManager: Network reachable. 22:19:25.933 Setup Assistant: CloudConfiguration: Skipping get of cloud configuration because: device is not registered with DEP 22:19:25.933 Setup Assistant: CloudConfig: Device enrollment record info unavailable - cache hit returns NO 22:23:54.691 Setup Assistant: Next Pane -- to CreateUserAccountWe did not see a fresh teslad ADE request after boot in the collected logs. Our filtered server logs showed neither a POST to the MDM enrollment endpoint nor an Authenticate event for this run. At 22:30, profiles status -type enrollment reported Enrolled via DEP: No and MDM enrollment: No. Comparison: Setup Assistant retrieved the ADE profile automatically in our macOS 26.6 tests. The available 26.6 log starts after the Configurator scan, so it is not a complete like-for-like trace. On the affected macOS 27 Macs, running sudo profiles renew -type enrollment from the desktop consistently brings up Remote Management. That confirms the prompt appears, not that enrollment completed. Questions for Apple Could you correlate the two X-Apple-Request-UUID values with your service logs and check what device and profile state the ADE service saw? Was the assignment visible to the service that answers Mac enrollment lookups by 14:19:25 UTC, when Setup Assistant reported the network was reachable? What should cause Setup Assistant to refresh a negative ADE cache entry once the profile has been assigned? Is skipping the lookup on the next boot expected on macOS 27.2.1 in this sequence? Is there a supported way to trigger that recheck before creating a local account, without first completing Setup Assistant and running profiles renew from the desktop? We can provide the original macOS log archive and Device Details responses privately through Feedback Assistant.
Replies
2
Boosts
0
Views
365
Activity
17h
Can a Developer ID Packet Tunnel System Extension access a hardware-bound ACME identity from a managed VPN profile?
I’m developing a macOS VPN app distributed directly with Developer ID. Its NEPacketTunnelProvider is packaged as a System Extension (packet-tunnel-provider-systemextension). On macOS 15.6 (24G84), I installed a configuration profile containing: A com.apple.security.acme payload with HardwareBound=true, Attest=true, and a P-256 key. A com.apple.vpn.managed payload whose PayloadCertificateUUID references that ACME payload. VPNSubType and ProviderBundleIdentifier identify my app and provider. macOS issued the certificate, and the managed VPN starts the provider. In startTunnel, protocolConfiguration.identityReference is non-nil (20 bytes). However, resolving it in the provider returns -25291 (errSecNotAvailable): `let query: [CFString: Any] = [ kSecClass: kSecClassIdentity, kSecValuePersistentRef: identityReference, kSecUseDataProtectionKeychain: true, kSecReturnRef: true, kSecMatchLimit: kSecMatchLimitOne ] var result: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &result) The containing app receives the same non-nil reference, but its identity query returns -25306. Neither binary currently has the com.apple.managed.vpn.shared keychain access group; I understand that this group requires a separate managed capability. An Apple Device Management Engineer states that third-party processes cannot access hardware-bound ACME identities in the Data Protection Keychain, with an exception for VPN extensions. The NETunnelProviderManager documentation says that apps and Packet Tunnel Providers need com.apple.managed.vpn.shared to use credentials supplied by configuration profiles. Is com.apple.managed.vpn.shared the supported way for a Developer ID Packet Tunnel System Extension to resolve this specific hardware-bound ACME identity? If granted, should the provider use the query above, or another public API? Does the VPN-extension exception apply when the System Extension runs outside the logged-in user’s keychain context? If this is unsupported for a System Extension, what is the supported approach for a directly distributed Developer ID VPN app to perform client authentication with this non-exportable key? I need a usable SecIdentity or signing operation, not the private-key bytes.
Replies
2
Boosts
0
Views
3.2k
Activity
Oct ’26
Can a Developer ID Packet Tunnel System Extension access a hardware-bound ACME identity from a managed MDM Device??
I’m developing a macOS VPN app distributed directly with Developer ID. Its NEPacketTunnelProvider is packaged as a System Extension (packet-tunnel-provider-systemextension). On macOS 15.6 (24G84), I installed a configuration profile containing: A com.apple.security.acme payload with HardwareBound=true, Attest=true, and a P-256 key. A com.apple.vpn.managed payload whose PayloadCertificateUUID references that ACME payload. VPNSubType and ProviderBundleIdentifier identify my app and provider. macOS issued the certificate, and the managed VPN starts the provider. In startTunnel, protocolConfiguration.identityReference is non-nil (20 bytes). However, resolving it in the provider returns -25291 (errSecNotAvailable): let query: [CFString: Any] = [ kSecClass: kSecClassIdentity, kSecValuePersistentRef: identityReference, kSecUseDataProtectionKeychain: true, kSecReturnRef: true, kSecMatchLimit: kSecMatchLimitOne ] var result: CFTypeRef? let status = SecItemCopyMatching(query as CFDictionary, &result) The containing app receives the same non-nil reference, but its identity query returns -25306. Neither binary currently has the com.apple.managed.vpn.shared keychain access group; I understand that this group requires a separate managed capability. An Apple Device Management Engineer states that third-party processes cannot access hardware-bound ACME identities in the Data Protection Keychain, with an exception for VPN extensions. The NETunnelProviderManager documentation says that apps and Packet Tunnel Providers need com.apple.managed.vpn.shared to use credentials supplied by configuration profiles. Is com.apple.managed.vpn.shared the supported way for a Developer ID Packet Tunnel System Extension to resolve this specific hardware-bound ACME identity? If granted, should the provider use the query above, or another public API? Does the VPN-extension exception apply when the System Extension runs outside the logged-in user’s keychain context? If this is unsupported for a System Extension, what is the supported approach for a directly distributed Developer ID VPN app to perform client authentication with this non-exportable key? I need a usable SecIdentity or signing operation, not the private-key bytes. so, how can I access a hardware-bound ACME identity?
Replies
1
Boosts
0
Views
714
Activity
Oct ’26