I am having a problem similar to this post, https://developer.apple.com/forums/thread/668231 , which is a follow up to https://developer.apple.com/forums/thread/710998?page=1#724376022 . As I am continuing to troubleshoot the problem with Bluetooth not working with 3rd party software in logged out/locked out state, I checked the TCC logs and found the application is being refused for bluetooth as shown below:
2022-10-25 12:15:31.433032+0300 localhost tccd[146]: [com.apple.TCC:access] REQUEST: tccd_uid=0, sender_pid=102, sender_uid=0, sender_auid=-1, function=TCCAccessRequest, msgID=102.162
2022-10-25 12:15:31.433223+0300 localhost tccd[146]: [com.apple.TCC:access] PrivilegedHelperTool: ***Helper[138]: /Library/PrivilegedHelperTools/***Helper
2022-10-25 12:15:31.433280+0300 localhost tccd[146]: [com.apple.TCC:access] PrivilegedHelperTool: ***Helper[138] -- failed to create helperInfoDict for: /Library/PrivilegedHelperTools/***Helper
2022-10-25 12:15:31.433323+0300 localhost tccd[146]: [com.apple.TCC:access] <TCCDProcess: identifier=com.apple.mds, pid=102, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds> attempted to call TCCAccessRequest for kTCCServiceReminders without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
2022-10-25 12:15:31.433469+0300 localhost tccd[146]: [com.apple.TCC:access] PrivilegedHelperTool: ***Helper[138]: /Library/PrivilegedHelperTools/***Helper
2022-10-25 12:15:31.433515+0300 localhost tccd[146]: [com.apple.TCC:access] PrivilegedHelperTool: ***Helper[138] -- failed to create helperInfoDict for: /Library/PrivilegedHelperTools/***Helper
2022-10-25 12:15:31.433538+0300 localhost tccd[146]: [com.apple.TCC:access] AUTHREQ_CTX: msgID=102.162, function=<private>, service=kTCCServiceReminders, preflight=yes, query=1,
2022-10-25 12:15:31.433550+0300 localhost tccd[146]: [com.apple.TCC:access] AUTHREQ_ATTRIBUTION: msgID=102.162, attribution={accessing={<TCCDProcess: identifier=***Helper, pid=138, auid=0, euid=0, binary_path=/Library/PrivilegedHelperTools/***Helper>}, requesting={<TCCDProcess: identifier=com.apple.mds, pid=102, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds>}, },
2022-10-25 12:15:31.433934+0300 localhost tccd[146]: [com.apple.TCC:access] AUTHREQ_SUBJECT: msgID=102.162, subject=/Library/PrivilegedHelperTools/***Helper,
2022-10-25 12:15:31.433963+0300 localhost tccd[146]: [com.apple.TCC:access] Refusing TCCAccessRequest for service kTCCServiceReminders from client Sub:{/Library/PrivilegedHelperTools/***Helper}Resp:{<TCCDProcess: identifier=***Helper, pid=138, auid=0, euid=0, binary_path=/Library/PrivilegedHelperTools/***Helper>} in background session
2022-10-25 12:15:31.433967+0300 localhost tccd[146]: [com.apple.TCC:access] AUTHREQ_RESULT: msgID=102.162, authValue=0, authReason=5, authVersion=1, error=(null),
2022-10-25 12:15:31.433998+0300 localhost tccd[146]: [com.apple.TCC:access] REPLY: (0) function=TCCAccessRequest, msgID=102.162
2022-10-25 12:15:34.580329+0300 localhost ***Helper[138]: (TCC) [com.apple.TCC:access] send_message_with_reply(): user tccd unavailable, sending 0x6000014e22e0 to system tccd
2022-10-25 12:15:34.580712+0300 localhost tccd[146]: [com.apple.TCC:access] REQUEST: tccd_uid=0, sender_pid=138, sender_uid=0, sender_auid=-1, function=TCCAccessRequest, msgID=138.1