I was trying to automate some of the files which has to be uploaded to one drive regularly but the access token gets expired and python fails. I have to provide authorization everytime. Is there a possibility to automate this?
hi, how do you produce the user code? cause im getting key error at line 33 in the ms_graph.py (print('user_code: ' + flow["user_code"])) am i missing out some actions? or am i doing something wrong?
user code is generated when you send a request to MS Graph API server. If you don't get the user code back, it usually means some information you provided are incorrect.
How can i do that in javascript. I am creating a web application to upload my files to onedrive and I need to get the download link? I tried but, I can't find any video and the documentation are messy. Appreciate your help
@@jiejenn does SPO (SharePoint Online) licence required to upload a file to onedrive via MS gragh api?? I am getting error that 'TENENT DOESN'T HAVE SPO LICENCE'
It worked! Thank you. Just when I really need it then saw this video then notice this was posted last monday!!!!!
Cool. Glad this video helped!
Hi, is there any way to upload to the shared folder that is accessible by shared links?
Hello all, I am getting this error "ModuleNotFoundError: No module named 'ms_graph'"
Please suggest any solution
Hello, I also met the same problem. Have you found the solution?
I finished watching the author's video on Microsoft Graph API, I found the answer, thank you, and thanks to the author of this video
There is no module ms_graph in python. How I can download ms_graph module?
I was trying to automate some of the files which has to be uploaded to one drive regularly but the access token gets expired and python fails. I have to provide authorization everytime. Is there a possibility to automate this?
Great video! Thanks for sharing
👍
hi, how do you produce the user code? cause im getting key error at line 33 in the ms_graph.py (print('user_code: ' + flow["user_code"]))
am i missing out some actions? or am i doing something wrong?
user code is generated when you send a request to MS Graph API server. If you don't get the user code back, it usually means some information you provided are incorrect.
@@jiejenn aight. noted w thanks!! 😊
@@jiejenn what is likely to be incorrect ?
Unless I have access to your account, otherwise this is not something I have an answer for.
@@jiejenn i am also facing same problem... the file cache .json file does not exists
How can i do that in javascript. I am creating a web application to upload my files to onedrive and I need to get the download link?
I tried but, I can't find any video and the documentation are messy. Appreciate your help
I'm not familiar with JS unfortunately.
@@jiejenn does SPO (SharePoint Online) licence required to upload a file to onedrive via MS gragh api?? I am getting error that 'TENENT DOESN'T HAVE SPO LICENCE'
Im not geting the device code can you please help me in this error.
It worked but can we automate the step where we need to submit the code and login to the app?
YES PLEASE SHOW US HOW TO DO THIS
'code': 'itemNotFound', 'message': 'Item not found', 'innerError' me sale este error si pueden ayudarme estare eternamente agradecido.
I have this error - What can be? error': {'code': 'InvalidAuthenticationToken', 'message': 'CompactToken parsing failed with error code: 80049217'
use space after bearer like this 'Authorization':'Bearer '
Can I do the same thing in my flutter app with dart
Not familiar with flutter so not sure I can help.
Ok thanks
your videos are a great help thank you 👍
This only works for files under 4MB though right?
Correct
how to get APP_ID from onedrive?
You have to create an app in Azure first.
where can i get the api id?
Maybe this video might help ua-cam.com/video/1Jyd7SA-0kI/v-deo.html
can this be considered as a backup also?
Not sure if I follow your question.
how do you find your one drive App Id?
You have to creat an app in Azure first.
how can i get my onedrive access token?
You will need to create an app in Azure first.
@@jiejenn yes, but that access token when you have already registered the application, where is it located?
Maybe this video will answer your question. ua-cam.com/video/1Jyd7SA-0kI/v-deo.html
where do we find appid?
App Id can be located in your Azure App.
Great video. How can I upload a zip file ? or a whole folder ?
You can upload a zip file just like how you would upload other files. To upload a folder, use os.walk method.
no module name ms_graph
You have to create a file called ms_graph.py with the source code he provided in the description.