![]() ![]() This is the part that launches the browser. You have to get a code in order to generate an access token. How can I get around this problem? Please assume it's not possible to change the environment setup. the OneNote authentication code tries to open a browser, but it can't because there isn't a browser to open). ![]() (This is because authentication tokens only last an hour with OneNote, and it has to use a refresh token to get a new one.) While I don't have to interact with the browser window at all, the fact that it needs to open one is problematic because the program has to run exclusively in a terminal environment. However, everytime it goes to authenticate, it has to open a browser window. I have it working perfectly and it authenticates fine. I want to create a python script that will allow me to upload files to OneNote via command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |