Hi Dennis Cabilan,
Thank you for posting your query on Microsoft Q&A. I am Saiteja from Q&A will be assisting you with your query.
Based on your query, I understand that you are facing issues with API validation which is not returning the expected body. First, we need to check the API has rightful permissions to perform the action. If you have configured an application with Azure to be used as service account, you need to provide Directory.ReadWrite.All and Application.ReadWrite.All permissions. These permissions have to be provided from Microsoft graph API --> Application permissions. This is to ensure the application should work based on behalf of without any user interaction required.
Please check the technical profile of the API to validate the provided input by following the document here.
For the detailed information along with the technical profiles required for before and after migration, you need to follow this document.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment"