Hi @Dave Frenk Thank you for posting the question here. I would like to check if you have deleted the device on the portal and recreated it. Recreating a device would generate a new set of authentication keys for the device. The logs also says a device provisioning error. In addition to validating the device key, please also ensure that you are using the correct ID scope for the IoT Central DPs instance.
Here is a reference to a GitHub sample code that provides guidance on How to connect ESP32 device to IoT Central If you use a different sample code, kindly share a reference link with us so we can understand the issue better.
Thank you.