I am trying to make a Office Addin with single sign on . i also have used Azure AD for that and enable the conditions for reference please refer the screenshot below.
but when command is given and authenticated properly this returns me an error .
please refer to the mentioned below screenshot .
Your Error is due to unhandled promise which means that there is some async code that you have not written in try catch block and that particular promise is not resolved/handled correctly. My suggestion would be to use trace unhandled package to trace where exactly your error is arising.
Trace Unhandled: https://www.npmjs.com/package/trace-unhandled