Hello,
This does look like a configuration error in either the Azure AD App or customsettings.config file. We are particularly interested in:
Azure AD App:
ReplyUrl
Excel AD App:
Two properties set to true, etc.
ReplyUrl
Consent must be provided by exposing the Azure AD app to the Excel AD App.
CustomSettings.config:
ClientServicesFederationMetadataLocation
AppIdUri
WSFederationLoginEndpoint
Many partners find this very difficult to configure despite adjustments to the docs:
docs.microsoft.com/.../authenticating-users-with-azure-active-directory
docs.microsoft.com/.../configuring-excel-addin
If you are not able to resolve the issue, feel free to raise a support request so we can assist.
Thanks.