msft-teams / tools

Templates and tools from Microsoft Teams Engineering
120 stars 54 forks source link

"Add to Calendar" link does not appear in app (does show on SP site) #11

Open J-Krepps-OH opened 4 years ago

J-Krepps-OH commented 4 years ago

So far everything is working for linking to various pages on our SharePoint site (same domain), with one exception: we are linking to a training event calendar on our Learning Pathways site. Part of this calendar includes automatically generated "Add to calendar" links that open an ICS file when clicked. These links show up on all browsers when directly accessing the site, but do not appear in the Teams client (mobile or web) when using the Get Started app.

Is there any known configuration change we need to make to get these links to be available?

karuanag commented 4 years ago

Thanx for this feedback. I do believe that is a known issue with the display of the iFrame inside of Teams but I'm putting this under investigation so we can give you a final answer. @arun-msft please investigate this for us. Thank you

arun-msft commented 4 years ago

@karuanag : We have tried add to calendar to links and it worked fine for us without any issues in our demo tenant.

Sowjanya-msft commented 4 years ago

@karuanag: As @arun-msft mentioned the "add to calendar" was working fine with teams when opened in the browser, but when we tried to open it in teams application it was throwing error and loading a blank page.

Issue Refused to display 'https://login.microsoftonline.com/0fcfb604-06d8-4e8e-9906-522d0d3e04e0/oauth2/authorize?client_id=00000003-0000-0ff1-ce00-000000000000&response_mode=form_post&protectedtoken=true&response_type=code%20id_token&resource=00000003-0000-0ff1-ce00-000000000000&scope=openid&nonce=081AE9838E8F4A7DFA0937FDDE459DAF8EA1EB984DD446F0-D5DBD2C166FDFC6508BEFF80B346BC10368B38E09D63CB4F2AA0243C20E5D6BC&redirect_uri=https:%2F%2Fm365x304637.sharepoint.com%2F_forms%2Fdefault.aspx&claims=%7B%22id_token%22:%7B%22xms_cc%22:%7B%22values%22:%5B%22CP1%22%5D%7D%7D%7D&wsucxt=1&cobrandid=11bd8083-87e0-41b5-bb78-0bc43c8a8e8a&client-request-id=07cd689f-008b-0000-473b-82fa21c3ec3f' in a frame because it set 'X-Frame-Options' to 'deny'.

In browser below is the view Capture

@J-Krepps-OH: for now, you can use "add to calendar" from browser teams we will get in touch with our engineering team and try to fix the issue as soon as possible in teams app