azure_iot_hub sample without TFM in SDK v2.6.x

In the transition from SDK v2.5.x to v2.6.x, Nordic removed support for boards that don't have the nonsecure (_ns) configuration in the Azure IOT hub sample.  In other words. the sample now only supports TFM builds.  I would like to use the sample for a build without TFM.

I tried using the nrf7002dk_nrf5340_cpuapp.conf and nrf7002dk_nrf5340_cpuapp.overlay from SDK 2.5.3.  The sample builds, runs, and is able to connect to wifi.  However, I get a -22 error back when it tries to sync data to the Azure server.  Looking through the code it appears that the I am not able to certificates that are loaded through the mqtt_helper module.  Stepping through the code, it appears that the certificates are loaded so perhaps they are not available through the security tags.

Could you advise how to get the azure_iot_hub sample working for board nrf7002dk_nrf5340_cpuapp SDK 2.6.x?

Related