Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Trouble connecting UserID to a user's name from Teams Shifts using oData and microsoft's graph API

I've gotten the following oData import to work from teams:

= OData.Feed("https://graph.microsoft.com/beta/teams/your teams ID #/schedule", null, [Implementation="2.0"])

 

However I can't find anywhere in that data any user table which corresponds a name to an ID.

 

There's a member table which has everything i need in it, but the member ID doesn't match the userID in shifts. 

I found a bit of info here: https://docs.microsoft.com/en-us/graph/api/team-list-members?view=graph-rest-beta&tabs=http which talks about how the teams member list should have a member ID and corresponding user ID, but the member record doesn't have a user ID within the above query.

 

Is anyone able to help me figure out how to get a list of corresponding names to the userIDs specifically in Shifts rather than the member record?

 

Please help - I'm in over my head.

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

I found a video about how to use microsoft graph api, maybe helpful.

Start calling the Microsoft Graph API in under 5 minutes! | Tips & Tricks - YouTube

And test the API website.

Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

I found a video about how to use microsoft graph api, maybe helpful.

Start calling the Microsoft Graph API in under 5 minutes! | Tips & Tricks - YouTube

And test the API website.

Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.