Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS Teams use joinWebUrl from response body #5886

Merged
merged 6 commits into from
Dec 7, 2022
Merged

Conversation

joeauyeung
Copy link
Contributor

@joeauyeung joeauyeung commented Dec 5, 2022

What does this PR do?

This PR changes where we retrieve the MS Teams join URL from the response body. Before we were checking for the presence of joinUrl. Reading through forums and the docs sometimes joinUrl may not be present. In the docs for the onlineMeeting resource joinUrl is not defined but joinWebUrl is. When creating a Teams link both joinUrl and joinWebUrl are the same.

https://learn.microsoft.com/en-us/graph/api/resources/onlineMeeting?view=graph-rest-1.0#properties

Fixes # (issue)

Environment: Staging(main branch) / Production

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

  • Add MS Teams to your account
  • Create a meeting
  • The email & calendar event should contain a Teams URL

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works
  • I haven't checked if new and existing unit tests pass locally with my changes

@joeauyeung joeauyeung requested a review from a team December 5, 2022 22:25
@vercel
Copy link

vercel bot commented Dec 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Dec 7, 2022 at 2:27PM (UTC)

@zomars zomars merged commit bf27549 into main Dec 7, 2022
@zomars zomars deleted the hotfix/msteams-joinweburl branch December 7, 2022 19:56
joeauyeung added a commit that referenced this pull request Dec 8, 2022
* Add joinWebUrl to event

* Remove console.log

Co-authored-by: alannnc <alannnc@gmail.com>
PeerRich pushed a commit that referenced this pull request Dec 8, 2022
)

Co-authored-by: alannnc <alannnc@gmail.com>
@PeerRich PeerRich added the core area: core, team members only label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core area: core, team members only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants