Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

FYI: Outlook Add-In Business Inbox keeps asking for authentication when the Dynamics NAV Win / Web Client is configured with AccessControlService

Posted on by

The CSS support teams did recently work on several support scenario's where a successful authentication in Outlook / Outlook Web Access (when trying to connect to the Outlook Add-In Business Inbox), resulted in a redirection to the same authentication page. In the application event log file, you will see two events show up:

1. Event 232 with description: <ii>A user successfully authenticated against the server.</ii>
2. Event 231 with description: <ii>You do not have access to Dynamics NAV. Verify that EXCH_ID:{GUID} is set up as a valid Dynamics NAV user.</ii>
The reason is that when the Dynamcis NAV Win / Web Client is configured with AccessControlService, the Exchange Identifier does not get stamped in the User Table. A typical Exchange Identifier does look like this:
https://outlook.office365.com/autodiscover/metadata/json/GUID
You can verify this via the User Page in Dynamics NAV Win / Web Client:
- Mapped to Exchange Identifier: not enabled
- (Ribbon): Delete Exchange Identifier Mapping (greyed out)
The product team has been made aware that this is an issue.
CSS defined the following workaround. Via PowerShell create another WebClient instance with authentication type set to NavUserPassword. From the Dynamics NAV Win / Web Client, search for Office Add-In Management, download the manifest file and replace the (all) url(s) for the WebClient with the new one. Deploy the adjusted manifest file.
NOTE: It may be necessary as well to connect to the Exchange Online environment via the Office 365 portal to remove the two Dynamics NAV Add-Ins from Add-In management so that it can take the new one with the adjusted values. It may also be necessary to  change the authentication type for the relevant Dynamics NAV Service Tier from AccessControlService to NavUserPassword if it is configured with AccessControlService. NavUserPassword does support both NavUserPassword and AccessControlService.
When you then connect to Outlook, authentication will take place with NavUserPassword and the Outlook Add-In Business Inbox will connect successfully. The authentication request will never be asked again because the mapping is enabled per user.
We do apologize for the inconvenience this may cause to you. We will post updates as soon as the product team figured out how we can also stamp that value in the User table when AccessControlService is being used.

*This post is locked for comments

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: FYI: Outlook Add-In Business Inbox keeps asking for authentication when the Dynamics NAV Win / Web Client is configured with AccessControlService

    Hello Job,

    The issue should have been  resolved in Dynamics 365 BC CU4:

    support.microsoft.com/.../cumulative-update-04-for-microsoft-dynamics-365-business-central-on-pr

    The bug ID is this one:

    304271 The Office Add-In Business Inbox cannot authenticate due to a request to open the authentication window in an iFrame

    Of course, we do recommend our customers / partners to apply latest available CU.

    If the scenario is not resolved for you, ask your Dynamics NAV partner / CSP to raise a request on your behalf. If you are a Dynamics NAV partner / CSP, you can raise a request yourself of course.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: FYI: Outlook Add-In Business Inbox keeps asking for authentication when the Dynamics NAV Win / Web Client is configured with AccessControlService

    Hi Marco,

    Any news on this issue for business Central?

    I have the feeling nothing changed on this.

    2019_5F00_04_5F00_12_5F00_002.png

    Sign in now

    2019_5F00_04_5F00_12_5F00_000.png

    pop-up window for authentication closes before anything can be clicked or shown:

    2019_5F00_04_5F00_12_5F00_001.png

    And afterwards, the app shows this information...

    2019_5F00_04_5F00_12_5F00_002.png

    Kind regards,

    Job

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: FYI: Outlook Add-In Business Inbox keeps asking for authentication when the Dynamics NAV Win / Web Client is configured with AccessControlService

    Not a questions. Just sharing information.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans