30-08-24 11:28 AM
How can I use the graph vbo to download images files from a sharepoint folder How do I get the access token for this?
31-08-24 11:35 PM
Hi harvins.abraham,
Are you using the Microsoft Graph – Download Files object from the DX?
The User Guide states the following prerequisites:
Are you able to use the Microsoft Graph – Authentication VBO to get the access token?
Be sure to read through the User Guide for this, as there are many specific steps. You might need to work with your IT department to ensure you have the correct permissions.
Hope this helps!
02-09-24 08:24 PM
Hi Harvins
You can check below Microsoft article As outlined in the article you need certain admin access to register the application and generate access token. As Justin mentioned, I would suggest to reach your IT to get that info
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
https://learn.microsoft.com/en-us/graph/auth-register-app-v2
03-09-24 08:54 AM
Hi Harish!
I'm trying to download files in OneDrive folder. I've managed to ask the admin to create Registration in Azure Portal and I currently have my Tenant ID, Client ID and Client Secret. When I tried authenticating to obtain the access token, I got an error and my Status Code ="401". Could you advice me on how to solve this issue? Also, what should I input for the Username and Password while I'm using "Get Delegated Access Token".
04-09-24 03:57 AM
Hi @muzzammil_1999 ,
It looks the credentials you are using dont have access
CHeck the highlight point in Microsoft doc
https://learn.microsoft.com/en-us/graph/auth/auth-concepts