|
|
@ -38,14 +38,23 @@ Follow the steps here -> https://github.com/microsoftgraph/python-sample-console |
|
|
|
|
|
|
|
Then: |
|
|
|
|
|
|
|
1. Update =config.cfg= to contain your =client_id=. |
|
|
|
1. Update =config.cfg= to contain your =client_id= as well as the ~machine~ name and ~login~ you choose. |
|
|
|
1. Update =.authinfo.gpg= to include something like: |
|
|
|
#+begin_src authinfo |
|
|
|
|
|
|
|
machine azure.api login email@example.com^client_secret password YOUR_CLIENT_ID_GOES_HERE_WITHOUT_SURROUNDING_QUOTES |
|
|
|
machine azure.api login email@example.com^client_secret password CLIENT_SECRET_GOES_HERE |
|
|
|
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
Given the above authinfo entry, you would set the following in =config.cfg=: |
|
|
|
#+begin_src conf |
|
|
|
#... |
|
|
|
client_id=CLIENT_ID_GOES_HERE |
|
|
|
machine=azure.api |
|
|
|
login=email@example.com |
|
|
|
#... |
|
|
|
#+end_src |
|
|
|
|
|
|
|
And finally, you can run the tool with: |
|
|
|
|
|
|
|
#+begin_src shell |
|
|
|