Share via

Teams integration in android

Apps SAN eForce 1 Reputation point
2022-01-09T07:22:10.063+00:00

I am create native android application in that trying to integrate a Teams to create a teams meeting using Online meeting API in MS graph explorer i am getting meet link , but i use same API in post man it shows unauthorized error. If use in application with java code, then request is not completed. Please guide me to solve this .

Register the project in azure portal, but i am also having some doubts in permissions.

I am using this code in android GraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( auth ).buildClient();

            OnlineMeeting onlineMeeting = new OnlineMeeting();
            try {
                onlineMeeting.startDateTime = OffsetDateTimeSerializer.deserialize("2022-01-15T21:30:34.2444915+00:00");
                onlineMeeting.endDateTime = OffsetDateTimeSerializer.deserialize("2022-01-15T22:00:34.2464912+00:00");
                onlineMeeting.subject = "User Token Meeting";
            } catch (ParseException e) {
                e.printStackTrace();
            }


            graphClient.me().onlineMeeting()
                    .buildRequest()
                    .post(onlineMeeting);

In Postman i am using : https://graph.microsoft.com/v1.0/me/onlineMeetings

Post object : {
"startDateTime": "2022-01-10T14:30:34.2444915-07:00",
"endDateTime": "2022-01-10T15:00:34.2464912-07:00",
"subject": "User test Meeting"
}

Greetings in advance.

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,862 Reputation points Microsoft Employee Moderator
    2022-01-11T03:47:13.603+00:00

    Currently, Microsoft Teams is not supported on Microsoft Q&A platform.
    Please post your questions on Microsoft Teams TechCommunity forum instead and experts will help you there.
    https://techcommunity.microsoft.com/t5/microsoft-teams/bd-p/MicrosoftTeams

    You can also get help on Stack overflow with the Teams tag here : https://stackoverflow.com/questions/tagged/microsoft-teams

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.