Hi @Andrew
Ensure that you have granted one of the following permissions to the calling app and have provided admin consent.
Additionally, you need to assign the Global Administrator
role to your app service principal.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.