A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Kai-L,
Another data point from a different environment, in case it helps.
We have Excel workbooks with Office Scripts attached to worksheet buttons. They worked normally for a long time and then suddenly stopped, with no changes on our side to the scripts, the workbooks, or the sharing settings as far as we know. Clicking a button returns "The button cannot run because the script was unshared. Contact the owner to share it again."
We are the owner of the script, so there is no one else to contact, and it was never unshared on our side. The script still runs correctly from the Automate tab. Only the button path fails.
One detail that may be relevant to your hypothesis that a desktop editing session breaks the link: we reproduce this consistently in BOTH Excel Desktop and Excel for the web, on the latest Excel version 2607. The failure is not confined to the web client, which points to the service side rather than something introduced by a desktop session.
Given how many separate reports show identical behavior, could this be escalated to the Office Scripts product team as a possible service-side regression, rather than being handled case by case as a configuration issue?
Thank you!