Get necesarry token to get meetings and their details on WEB API

%3CLINGO-SUB%20id%3D%22lingo-sub-1889754%22%20slang%3D%22en-US%22%3EGet%20necesarry%20token%20to%20get%20meetings%20and%20their%20details%20on%20WEB%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1889754%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%3CBR%20%2F%3EI%20am%20a%20jr.%20developer%20in%20a%20company%20and%20we%20have%20an%20integration%20project%20for%20teams%20into%20our%20mobile%20application.%20We%20successfully%20integrated%20and%20using%20the%20MS%20Teams%20application%20to%20create%2Fedit%2C%20join%20etc.%20Now%2C%20we%20need%20to%20prepare%20a%20private%20report%20about%20meetings%20and%20details%20for%20our%20customers.%20But%20we%20have%20a%20problem%20with%20getting%20meetings'%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20read%20the%20documentation%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fcallrecords-callrecord-get%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW103895949%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW103895949%20BCX9%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fcallrecords-callrecord-get%3Fview%3Dgraph-rest-1.0%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22EOP%20SCXW103895949%20BCX9%22%3E%26nbsp%3B%20but%20we%20cannot%20use%20it.%20The%20name%26nbsp%3B%3CSPAN%20class%3D%22TextRun%20%20BCX9%20SCXW170800354%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW170800354%22%3Eis%20%22Not%20Supported%22%3C%2FSPAN%3E%3C%2FSPAN%3E%20and%20the%20description%20is%20%22%3CSPAN%3EConsent%20description%20unavailable%22%26nbsp%3B%3C%2FSPAN%3Eof%20this%20API's%20%22Required%20Consent%22%20on%20Graph%20explorer%20for%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fcommunications%2FcallRecords%2F%257B%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20%20BCX9%20SCXW170800354%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW170800354%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fcommunications%2FcallRecords%2F%7B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20%20BCX9%20SCXW170800354%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW170800354%22%3Ecall%20id%7D.%20We%20cannot%20use%20this%20API%20due%20to%20the%20%22%3CSPAN%20class%3D%22ms-MessageBar-innerText%20innerText-166%22%3E%3CSPAN%3EYou%20need%20to%20consent%20to%20the%20permissions%20on%20the%20Modify%20permissions%20tab%3C%2FSPAN%3E%3C%2FSPAN%3E%22%20error%20(I%20tried%20with%20different%20accounts%20and%20having%20the%20same%20error.%20%22Consent%22%20button%20under%20the%20%22Modify%20permissions%22%20tab%20is%20not%20working.).%3CBR%20%2F%3E%3CBR%20%2F%3EBecause%20of%20this%20problem%2C%20we%20went%20to%20check%20out%20the%20admin%20dashboard%20of%20teams.%20We%20saw%20that%20a%20granted%20user%20can%20see%20users'%20meetings%20and%20details%20of%20these%20meetings%20(like%20participants%2C%20on%20the%20users%20profile%2C%20under%20the%20%22Call%20History%22%20tab).%20We%20checked%20out%20the%20console%20and%20we%20saw%2C%20this%20data%20is%20coming%20from%26nbsp%3B%3CSPAN%20class%3D%22TextRun%20Underlined%20%20BCX9%20SCXW149801278%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW149801278%22%3E%3CA%20href%3D%22https%3A%2F%2Fapi.interfaces.records.teams.microsoft.com%2FSkype.Analytics%2FUsers('%257buser-id%257d')%2FCommunications%3F%2524top%3D500%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3Ehttps%3A%2F%2Fapi.interfaces.records.teams.microsoft.com%2FSkype.Analytics%2F%3C%2FA%3E.%20But%20the%20problem%20here%20is%2C%20on%20the%20MS%20Teams%20admin%20dashboard%2C%20to%20get%20this%20data%2C%20a%20token%20is%20being%20used%20different%20than%20Microsoft%20and%20skype%20tokens%20(Microsoft%20token%20is%20taken%20from%20login.microsoft.com%20and%20skype%20token%20is%20taken%20from%20%3CSPAN%20class%3D%22TextRun%20Underlined%20%20BCX9%20SCXW260165046%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW260165046%22%3E%3CA%20href%3D%22https%3A%2F%2Fauthsvc.teams.microsoft.com%2Fv1.0%2Fauthz%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3Ehttps%3A%2F%2Fauthsvc.teams.microsoft.com%2Fv1.0%2Fauthz%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E).%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22EOP%20SCXW103895949%20BCX9%22%3E%3CSPAN%20class%3D%22TextRun%20%20BCX9%20SCXW170800354%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW170800354%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20%20BCX9%20SCXW149801278%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX9%20SCXW149801278%22%3E%3CBR%20%2F%3EWe%20want%20to%20know%2C%20how%20to%20get%20that%20token%20so%20we%20can%20get%20%22Meetings%22%20data%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fapi.interfaces.records.teams.microsoft.com%2FSkype.Analytics%2FUsers('%257buser-id%257d')%2FCommunications%3F%2524top%3D500%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW218858691%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW218858691%20BCX9%22%3Ehttps%3A%2F%2Fapi.interfaces.records.teams.microsoft.com%2FSkype.Analytics%2FUsers('%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW218858691%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW218858691%20BCX9%22%3E%7Buser-id%7D%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW218858691%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW218858691%20BCX9%22%3E')%2FCommunications%3F%2524top%3D500%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22EOP%20SCXW218858691%20BCX9%22%3E%26nbsp%3B%20and%20%22Participants%22%20data%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fapi.interfaces.records.teams.microsoft.com%2FSkype.Analytics%2FCommunications('%257bmeeting-id%257d')%2FParticipants%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW175959753%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW175959753%20BCX9%22%3Ehttps%3A%2F%2Fapi.interfaces.records.teams.microsoft.com%2FSkype.Analytics%2FCommunications('%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW175959753%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW175959753%20BCX9%22%3E%7Bmeeting-id%7D%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW175959753%20BCX9%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW175959753%20BCX9%22%3E')%2FParticipants%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20help%20would%20be%20awesome%20with%20getting%20this%20data%20we%20need%20to%20prepare%20private%20reports%20%5E%5E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1889754%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAnalytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Visitor

Hello everyone,
I am a jr. developer in a company and we have an integration project for teams into our mobile application. We successfully integrated and using the MS Teams application to create/edit, join etc. Now, we need to prepare a private report about meetings and details for our customers. But we have a problem with getting meetings' data.

 

I've read the documentation on https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-1.0  but we cannot use it. The name is "Not Supported" and the description is "Consent description unavailable" of this API's "Required Consent" on Graph explorer for https://graph.microsoft.com/v1.0/communications/callRecords/{call id}. We cannot use this API due to the "You need to consent to the permissions on the Modify permissions tab" error (I tried with different accounts and having the same error. "Consent" button under the "Modify permissions" tab is not working.).

Because of this problem, we went to check out the admin dashboard of teams. We saw that a granted user can see users' meetings and details of these meetings (like participants, on the users profile, under the "Call History" tab). We checked out the console and we saw, this data is coming from https://api.interfaces.records.teams.microsoft.com/Skype.Analytics/. But the problem here is, on the MS Teams admin dashboard, to get this data, a token is being used different than Microsoft and skype tokens (Microsoft token is taken from login.microsoft.com and skype token is taken from https://authsvc.teams.microsoft.com/v1.0/authz ).


We want to know, how to get that token so we can get "Meetings" data from https://api.interfaces.records.teams.microsoft.com/Skype.Analytics/Users('{user-id}')/Communications...  and "Participants" data from https://api.interfaces.records.teams.microsoft.com/Skype.Analytics/Communications('{meeting-id}')/Pa...


Any help would be awesome with getting this data we need to prepare private reports ^^

0 Replies