We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29ab17a commit edf3f79Copy full SHA for edf3f79
webjobs/user_data_sync/requirements.txt
@@ -0,0 +1,3 @@
1
+adal=0.4.7
2
+cryptography==2.1.4
3
+pyopenssl==17.5.0
webjobs/user_data_sync/start.py
@@ -1,7 +1,7 @@
import os
import adal
-from OpenSSL import crypto # pip install pyopenssl
4
-from cryptography.hazmat.primitives import serialization # pip install cryptography
+from OpenSSL import crypto
+from cryptography.hazmat.primitives import serialization
5
6
7
client_id = os.environ['ClientId']
@@ -31,6 +31,8 @@
31
tenant_id = '64446b5c-6d85-4d16-9ff2-94eddc0c2439'
32
authority = aad_instance + tenant_id
33
auth_context = adal.AuthenticationContext(authority)
34
+
35
+import pdb; pdb.set_trace()
36
token = auth_context.acquire_token_with_client_certificate(
37
ms_graph_resource,
38
client_id,
0 commit comments