Sign Up for Training |
Jet Global Company Site
Community
Downloads
Training
Submit a Request
Become a Jet Insider
Give Feedback

Enabling Multi-factor authentication for BC Cloud Web Services data sources within the Jet Hub


This features is available in Jet Reports 20.8.1 and higher.

Overview

If your organization is enforcing Multi-Factor authentication to log in to your Dynamics 365 Business Central Cloud Web Services data source, then you'll need to setup an additional Azure App Registration to facilitate logging into the data source within the Jet Hub.

This guide is intended for users with administrator access to their Azure portal.

This functionality does not require additional or premium licensing on the part of Azure Active Directory.

Register your App

  1. Log in to your Azure portal (portal.azure.com)

  2. Navigate to your Azure Active Directory

  3. Click on App registrations

    • Click on +New registration to register a new app

      mceclip1.png
    • Give your App a recognizable name. 
    • Under Supported Account Types, select Accounts in any organization directory (Any Azure AD directory - Multitenant)
    • Under Redirect URI (optional), select the type of Web and enter your Jet Hub URL followed by "/Datasources/Authorize"
      This entry must start with https:// and contain the base URL that your users will use to sign in to your Jet Hub. The URL could contain the machine name to which you will install Jet Hub or the DNS entry for this site. Examples are:
      https://myservername.mydomain.com/DataSources/Authorize
      https://dnsname.mydomain.com/DataSources/Authorize
      • Copy your entered Jet Hub Redirect URL value and paste into Notepad (or other text editor) for saving. This will be used in a future step.mceclip2.png
    • Click Register

Configure your App

Now that your app is registered, there are additional settings that are needed.

  1. Navigate to the Authentication pagemceclip4.png
  • Check the box for ID tokensmceclip5.png
  • Click Save

2. Navigate to Certificates & secrets, click +New client secret to set up your Client Secretmceclip6.png

  • Give your client secret a description, select when it expires, then click 'Add'
    • Never is recommended for the expire option.
    • Copy the generated secret value and paste into Notepad (or other text editor) for saving. This will be used in a future step.
    • This will be your only chance to copy it, and it will be required information during the setup of Multi-factor authentication within the Jet Administrator Console. If you forget to copy it, you can just create another secret.mceclip7.png

3. Navigate to the API permissions tab, click +Add a permission, and click on Dynamics 365 Business Central.

  • Select Dynamics 365 Business Centralmceclip8.png
  • Select Delegated permissions
  • Check the user_impersonation checkboxmceclip9.png
  • Click Add Permissions

4. From the API Permissions page, click on the Grant admin consent for <DomainName> button. Then, click Yes in the confirmation dialog.

mceclip11.png

5. Go to the Overview page and copy the Application (Client) ID and the Directory (tenant) ID and paste them into Notepad (or other text editor) for saving. This will be used in a future step.mceclip12.png

 


Open Jet Hub settings with an administrator account

1. Navigate to the BC Cloud MFA page

  • Enter your Application (client) ID into the Client Id text box.
  • Enter your Directory (tenant) ID into the Tenant Id text box.
  • Enter your Redirect URI into the Jet hub redirect Url text box.
  • Enter your Client Secret into the secret text box.
  • Click Save.mceclip0.png

2. Navigate to the reports screen and try running a report that is using a Business Central Cloud Web Services data source.

  • Log in to your Jet Hub
  • Run or upload a report using a Business Central Cloud Web Services data source
  • Click the Sign in with Microsoft buttonmceclip15.png
  • A new tab will open which will allow you to sign in using Microsoft's authentication. After completion, the tab will close.
  • You're now using your Multi-factor enabled account within the Jet Hub.
  • Run or upload a report using a Business Central Cloud Web services data source to verify that your data source has been setup correctly.
Was this article helpful?
0 out of 0 found this helpful

Comments