Sorry. Thought I was searching for an answer. It has been a very frustrating long day. I did try to delete both posts but the delete options responds that I am not allowed to delete.
I did find in the STM32H723ZGTX_FLASH.ld that the ._threadx_heap assignment was missing. I thought that odd since this was taken from the Tx_Thread_Creation example application for the nucleo board I am using. That example was working before I added the use of a queue and perhaps no assignment in the linker is needed when not using message queues. At the moment I amusing:
._threadx_heap
{
. = Align(8);
_RAM_segment_used_end__ = .;
. = . + 32K;
. = ALIGN(8);
} >RAM_D1
The section above is placed after .bss and before ._user_heap_stack.
However I am still ending up in the HardFault_Handler.
The HFSR->FORCED is set and the CFSR->BFARVALID and CFSR->PRECISERR are set.
This will be Azure-specific so you should perhaps seek help at their support, if there's any. Don't think he are any Azure users. Also you can try to debug as hardfaults are devices usually - look at the fault registers, and also from the stacked PC and disasm look up the offending instruction and if it's a portion to which you have the sources, you may estimate the reason.