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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors