Using GraphServiceClient at Microsoft Fabric Notebook #1055
JoseRomero3
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Due to the requirements from a proyect, we are trying to use the Graph API to retrieve some informatión about groups.
We are getting an SSL error when retriving it.
Sample code:
from msgraph.graph_service_client import GraphServiceClient
from azure.identity import UsernamePasswordCredential
scopes = ['https://graph.microsoft.com/.default']
credential = UsernamePasswordCredential(
tenant_id=tenant_id,
client_id=client_id,
username=username,
password=password)
graph_client = GraphServiceClient(credential, scopes)
result = await graph_client.groups.by_group_id('').members.get()
Error:
does GraphServiceClient has a parameter to "ignore" SSL checks while he perform the requests??.
Thanks and regards
Beta Was this translation helpful? Give feedback.
All reactions