Serving static files to custom Excel add-in

SimonB 1 Reputation point
2022-11-17T10:04:42.353+00:00

Hello everyone,

I have developed a custom Excel function based on the Excel JavaScript API. I was able to successfully load the addin in the Desktop and the Web version of Excel 365. The addin supports Single Sign On with Azure AD and there is an external custom backend, with which the custom function interacts over HTTPS. The challege I am currently facing is the following: I would like to serve the js and html files specified in the manifest.xml only to an authenticated office 365 instance. This scenario requires the Office instance to send an access token in the request headers for the static files. Is there any way to ask office 365 to send an bearer access token while requesting the static files?

Kind Regards
Simon

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,457 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,996 questions
0 comments No comments
{count} votes