Hi, @Rising Flight
Looks like the issue is more related to Azure APP Service, please kindly understand that the Exchange Online tag here we mainly focus on general issues about Exchange Online. In order to provide you with a more professional answer, we will add Azure APP Service tag for you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".