Hi @Sahana Raghavan Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.
I recommend you look into the sample projects provided under Azure_RTOS_6.1_ADU_STM32L4+-DISCO_IAR_Sample_2022_04_10 These sample projects help you with building projects using the IDE STM32CubeIDE. However, please note that the samples are designed for STM32L4+DISCO board. You might want to modify the code to reflect the correct Microcontroller.
Hope this helps you! Please let us know if you have additional questions or need further assistance.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.