web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Verified answer
    Marco Mels Profile Picture
    on at

    Not a questions. Just sharing information.

  • Community Member Profile Picture
    on at

    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

  • Suggested answer
    Marco Mels Profile Picture
    on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans