16-08-22 12:57 PM
Hi All,
Can someone show us example how exactly we can find the drive id, Site Id and File Id for executing the Graph API skillset for SharePoint. May be by using Delegating Site access.
Though we are already using API skillset for SharePoint but we need to use modern authentication which I don't understand what exactly is it. According to me its Graph API only. So if someone can explain me and provide examples how we can use this would be really great.
I need example please. Thanks.
Regards,
Vijay
17-08-22 04:25 PM
17-08-22 04:39 PM
24-08-22 03:23 PM
@ewilson,
Thanks for the all help. The access and app registration has been done in the Azure directory. But the action using delegated access token unable to generate. Throws this error - The remote server returned an error: (400) Bad Request.
But able to generate using Application access token. Does this mean we still don't have delegate access?
One more query is do we really able to download the file locally to any of the folders?
If yes then how?
Also can you explain this error if we try the things with the Microsoft Graph - Download Files VBO.
Internal : Could not execute code stage because exception thrown by code stage: Access to the path 'C:\******' is denied.
We tried the above approach using Application access token and HTTP Request File.
Regards,
Vijay
24-08-22 04:38 PM
24-08-22 04:52 PM
24-08-22 05:11 PM
24-08-22 06:35 PM
24-08-22 09:26 PM
23-08-23 07:29 AM
Hello Eric
You say "From there, you can call Get Drive Items to get a collection of all the contents in that specific folder. Then you would iterate over that collection and drill into any other child folders you may be interested in.". I can't get anywhere here. The problem is that with "Drive Items" I get the information for both folders and files. If I want to drill-into any child folder, I have to know what folders and what files are. How do I know what folders and what files are or how do I get the IDs only from the folders? Basically it also works with files (I just can’t drill-into then), but for performance reasons this is very unsatisfactory.
Regards,
Patrick
------------------------------
Patrick Brunner
RPA Engineer
Die Mobiliar
Europe/Zurich
------------------------------
24-04-24 10:11 AM
I have another question: It is quite normal that within a folder there are ten subfolders. This means I have to create ten nested loops to get to the last subfolder. This is incredibly time-consuming and not very user-friendly. Is there another way?
Why can’t I just use the file or folder name to find a file or folder and why I have to work with these IDs? At Powerautomate for example, this is an absolute no-brainer.