To grant Permission for your App registration, you require to follow the next steps:
- In the navigation pane, click API permissions.
- Click Add a permission. The Request API permissions pane appears.
- Click Microsoft Graph tile.
- Click Application permissions.
- Select the following permissions:
- Directory: Directory.Read.All
- Files: Files.ReadWrite.All
- User: User.Read.All
- Notes: Notes.ReadWrite.All
- Application: Application.ReadWrite.All
- Click Add permissions.
- Click Add a permission. The Request API permissions pane appears.
- Click Grant admin consent for tenant_name.
- Click Yes.
Hope this helps!
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.
What permissions did you give to your App Registration?
Hi @Carlos Solís Salazar
I have given all application and delegated related below perimissions