I registered my application in Application Registration Portal and set the application permissions in Microsoft Graph Permissions to acquire Files.ReadWrite.All
(Admin Only). So that I can gain access to all users in the organization using admin consent.
With the token I acquired, I am able to call API endpoints without any problem.
Then I tried to access the approot
for a specific user. I sent the GET request to
https://graph.microsoft.com/v1.0/users/{UPN}/drive/special/approot
As per the documentation, when I call the endpoint, it should create a folder inside the Apps folder in users OneDrive, with the name of my application as I registered it in App Registration Portal.
The problem is that the folder created has the name as "Microsoft Graph" instead of my application name.
How can I create the app folder with my application's name?