Getting Teams Rooms info via API?

%3CLINGO-SUB%20id%3D%22lingo-sub-3132825%22%20slang%3D%22en-US%22%3EGetting%20Teams%20Rooms%20info%20via%20API%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3132825%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20determine%20how%20I%20could%20programattically%20retrieve%20diagnostic%20info%20for%20Teams%20Rooms%2C%20like%20the%20information%20you%20can%20get%20via%20the%20admin%20page.%20%26nbsp%3BExample%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22CmOliverosL3AV_0-1644269616840.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346011i11FE70B5D2C31B5D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22CmOliverosL3AV_0-1644269616840.png%22%20alt%3D%22CmOliverosL3AV_0-1644269616840.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20proper%20way%20to%20retrieve%20a%20bearer%20token%20for%20the%20Teams%20API%3F%20%26nbsp%3BThese%20endpoints%20don't%20seem%20to%20be%20accessible%20in%20the%20Graph%20API%2C%20the%20only%20supported%20endpoint%20I%20see%20is%20this%20one%2C%20which%20doesn't%20contain%20nearly%20enough%20detail%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fplace-list%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fplace-list%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3132825%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3134922%22%20slang%3D%22en-US%22%3ERe%3A%20Getting%20Teams%20Rooms%20info%20via%20API%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3134922%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1300088%22%20target%3D%22_blank%22%3E%40CmOliverosL3AV%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20go%20through%20below%20document%20for%26nbsp%3B%3CSPAN%3Eretrieving%20a%20bearer%20token%20for%20the%20Teams%20API.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fauth-v2-service%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGet%20access%20without%20a%20user%20-%20Microsoft%20Graph%20%7C%20Microsoft%20Docs%3C%2FA%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

 

I'm trying to determine how I could programattically retrieve diagnostic info for Teams Rooms, like the information you can get via the admin page.  Example below:

 

CmOliverosL3AV_0-1644269616840.png

 

Is there a proper way to retrieve a bearer token for the Teams API?  These endpoints don't seem to be accessible in the Graph API, the only supported endpoint I see is this one, which doesn't contain nearly enough detail:

https://docs.microsoft.com/en-us/graph/api/place-list?view=graph-rest-1.0&tabs=http

 

 

2 Replies

@CmOliverosL3AV

Could you please go through below document for retrieving a bearer token for the Teams API.
Get access without a user - Microsoft Graph | Microsoft Docs

@CmOliverosL3AV - Could you please confirm if the above suggestion helped you in any way or are you still looking for any help?