For anyone wondering: The slide shown at 11:00 about uploading items to drive contains an error. The URL should end with :/content instead of :/children (your Postman example is correct though) Anyways, thanks for the great explaination. I was exactly looking for an example-walkthrough like yours.
Hi Remington, this is a great step by step, thank you so much for sharing it. I was getting an "AccessDenied" code. "Either scp or roles claim need to be present in the token." error. After watch the video again and read Graph documentation, I realized that there is a difference, depending on the permission type chosen in "API permissions" step, whether Delegate or Application. Thanks again!
Good morning. I made this example, it worked great, but I have problems with an API I built, I don't have the certificate for https (TLS), could you please explain how to do this part, thank you
Hi, Can you let us know how we can play with permissions on the new file uploaded. We would like to share that file to specific people after uploading.
Thanks for your video and very useful for new dev!! I'm facing an error message by following your video, "Either scp or roles claim need to be present in the token.", did I miss some steps of configuration on Azure AD?
Hi Kate, thanks for the kind words 😀 You might be missing admin consent for the permissions or the permission needed for your API call is missing the permission granted (for my tutorial I only granted permission required to perform the CRUD operations in Sharepoint)
Great explanation! I'm facing 'access denied' message when trying to register an application in the azure portal. I want to know if this step will charge any money/subscription to the tenant so that I'll request my admin for the access accordingly?
Hi Gaurav, your Azure tenant's app registration setting is probably set to "No", which why you will require your administrator to register an app for you. There is no cost incurred to register an application at all. Thank you for watching and I hope I helped 😁
Thanks for the reply and yes, that really helped me alot to understand the complete process. Just went through your other video in which SharePoint is used to perform CRUD operations instead of Azure. In your opinion which one is a better method?
The other video is using the Sharepoint API v1 and we consider the Graph API to be v2. If you are intending to use the APIs in a solution for your users, it is recommended to use v2 for ease of updating your expiring client secret in the Azure portal. But if you are intending to use it for your personal usage, it might be easier to use v1 since you can do it without an admin.
Hi and thanks a lot for the great video. In your experience, if I get the error code "AccessDenied" with messag "Either scp or roles claim need to be present in the token." when trying to get the site id, where could be the problem?
I have a problem I am getting an 400 bad request and getting this message: Files and folders should only be added to a DocumentLibrary via the OneDrive API.
I hate to be this guy... but I have to be... The voice was too soft and the music too loud, detracting from the subject matter. Also it is advised to use 'Sites.Selected' for granting the app permissions to specific sites rather than permissions to AL sites on the tenant, especially if it's a medium to large organisation. Otherwise great, helpful content. Thanks.
HI am getting error while getting site id : 404 bad request : { "error": { "code": "invalidRequest", "message": "Invalid hostname for this tenancy", "innerError": { "date": "2024-01-07T05:03:21", "request-id": "92c950ed-3d96-4f89-82b3-4eee06c74a1a", "client-request-id": "92c950ed-3d96-4f89-82b3-4eee06c74a1a" } } }