Reputation: 23
I am trying to create a deeplink to Microsoft Teams app from my android app with already selected startDate.
Following https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-workflow?tabs=teamsjs-v2#deep-link-to-open-a-meeting-scheduling-dialog I managed to create below snippet of code
String uri = "msteams://teams.microsoft.com/l/meeting/new?subject=testSubject&content=testContent&startTime=12%2F07%2F2023%2010%3A30%3A00";
Intent intent = new Intent(Intent.ACTION_VIEW);
Uri parsedUri = Uri.parse(uri);
intent.setData(parsedUri);
startActivity(intent);
subject and content are successfully set in Microsoft Teams scheduling dialog, but startDate is not.
What is the required formatting for startDate parameter?
Upvotes: 0
Views: 326
Reputation: 369
Use the following format for a deep link that you can to open a meeting scheduling dialog:
https://teams.microsoft.com/l/meeting/new?subject=<meeting subject>&startTime=<date>&endTime=<date>&content=<content>&attendees=<user1>,<user2>,<user3>
startTime: Start time should be in long ISO 8601 format, for example 2018-03-12T23:55:25+02:00.
We have tried with the below API as well:
https://teams.microsoft.com/l/meeting/new?subject=testSubject&content=testContent&startTime=12%2F07%2F2023%2010%3A30%3A00
Could you please try to simply run deeplink and check it once it is showing the start date or not?
Upvotes: 0