I have tried creating a new taskpane and including a WebApplicationInfo element in the manifest using the same credentials as my Word/Excel/PPT add-in and set the taskpane to load the same url.
When I open the taskpane in onenote after uploading the add-in manually I see the following error in the console:
TypeError: Office.auth is undefined
I have tried creating a new taskpane and including a WebApplicationInfo element in the manifest using the same credentials as my Word/Excel/PPT add-in and set the taskpane to load the same url.
When I open the taskpane in onenote after uploading the add-in manually I see the following error in the console: TypeError: Office.auth is undefined
However as far as I can tell from the doco here: https://learn.microsoft.com/en-us/javascript/api/office/office.auth?view=common-js this should be available to me?
I would like my taskpane to be able to use the same authentication mechanisms for OneNote as the other office apps.