How to call microsoft hosted netowork in the terraform azapi

I think there is likely some further configuration that is missing / not yet in place. See my response to your related question on your original thread: