Do not set your app's supported account types to Personal Microsoft Accounts Only, otherwise administrators of your organization's tenant will not be able to sign in to this app to grant administrator consent.
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.