script-lab icon indicating copy to clipboard operation
script-lab copied to clipboard

Script Lab for Outlook run doesn't load script due to Third-Party Storage Partitioning

Open rkpathak opened this issue 1 year ago • 16 comments

Bug Report

  • Host: Outlook
  • OS: (fill out if relevant/applicable)
  • Browser: Edge
  • Environment: (fill out. eg: alpha, beta, prod)

Expected behavior:

On clicking run its expected to load script from ScriptLab editor and run.

Actual behavior:

But its keeps showing "No snippet to run" image

Steps to Reproduce:

  1. Open outlook web.
  2. Open a read mail item. Select ScriptLab Addin.
  3. Click on Run

Failure Logs:

Screenshot:

rkpathak avatar Nov 10 '23 17:11 rkpathak

Observing the same in current Outlook on the Web in Edge and Chrome

neville-jones avatar Nov 13 '23 03:11 neville-jones

Same here, only working in Outlook for Desktop (old one) and Outlook for Mac

bogdanst24 avatar Nov 17 '23 13:11 bogdanst24

Does not work for me on OWA, New Outlook for Windows. Only works on Classic Windows Outlook

avisheknand avatar Nov 30 '23 23:11 avisheknand

Same here, only working on native Outlook app/

jasonhieu1905 avatar Dec 03 '23 04:12 jasonhieu1905

Same here, can reproduce on Chrome and Edge for both Win10 and Win11.

ewieczor avatar Dec 08 '23 00:12 ewieczor

Same here - exactly same set-up as original poster has and I have the same result: 'No snippet to run'. Tried everything, cleared cache, reinstalled - tested on Chrome, Edge, on PC, on Mac. It was working just fine for me on 12th October when I used it to test an API method, that was related to an issue I was reporting: https://github.com/OfficeDev/office-js/issues/3748#issue-1939704953

kworksltd avatar Dec 08 '23 16:12 kworksltd

Thanks for reporting this. We've notified the relevant team of this issue for further investigation. @rkpathak or anyone on this post, could we ask you to open an issue for this in the office-js repo so that the team could keep track of this? Thank you.

samantharamon avatar Dec 13 '23 16:12 samantharamon

@samantharamon Do you think this issue is related to office-js? The addin is loading fine, the communication between editor and the run window seems to be broken.

rkpathak avatar Dec 14 '23 01:12 rkpathak

@samantharamon Do you think this issue is related to office-js? The addin is loading fine, the communication between editor and the run window seems to be broken.

@rkpathak, the request for an office-js GitHub issue is mostly to help the relevant teams keep track of this reported issue. I'll defer to them to provide updates on their investigation.

@bogdanst24, thank you for opening the issue.

samantharamon avatar Dec 19 '23 01:12 samantharamon

Same issue here. It does not work in OWA but does in Windows Outlook.

dseph avatar Dec 27 '23 18:12 dseph

@samantharamon the OfficeJS team closed the issue report

This is not an Outlook Office JS issue. We handle only issues related to the Office JS for Outlook. Closing this. Please add you comment to the issue created for Script Lab.

bogdanst24 avatar Jan 09 '24 08:01 bogdanst24

Thanks for the update, @bogdanst24. Let me follow up on this internally to determine who can assist with this.

samantharamon avatar Jan 09 '24 17:01 samantharamon

The workaround for now is to disable third party storage partitioning in chrome/edge. For chrome: https://developers.google.com/privacy-sandbox/blog/storage-partitioning-dev-trial

For edge:

image

ajays-msft avatar Jan 17 '24 08:01 ajays-msft

I can confirm it works, thank you!

bogdanst24 avatar Jan 17 '24 08:01 bogdanst24

The workaround for now is to disable third party storage partitioning in chrome/edge. For chrome: https://developers.google.com/privacy-sandbox/blog/storage-partitioning-dev-trial

For edge:

image

funciona

jactefx avatar Feb 02 '24 21:02 jactefx

Is there a way to make this work in "New" Outlook?

dcegress avatar Mar 13 '24 22:03 dcegress