Integration with External Applications

If you use Microsoft Power BI to visually display reports generated in MYOB Advanced, you can embed these Microsoft Power BI reports into MYOB Advanced. With this integration, users of your MYOB Advanced instance will have at hand the information that they need for their work.

In this topic, you will find information about the types of integration with Microsoft Power BI, the configuration steps for integration with Microsoft Power BI, and the refreshing of access tokens.

Tip: Embedding Power BI tiles in an MYOB Advanced dashboard is a different type of interaction between MYOB Advanced and Microsoft Power BI that is described in Specific Widgets: To Register Your MYOB Advanced Instance for Power BI and Specific Widgets: Power BI Tile Widgets topics.

Types of Integration with Microsoft Power BI

In MYOB Advanced, the following types of integration with Microsoft Power BI are supported:

  • Power BI: This type of integration is intended for reports created in the Microsoft Power BI. These reports are kept in a user's personal workspace. MYOB Advanced works with these reports on behalf of this user and uses the OAuth 2.0 protocol for integration. The configuration steps are described in Configuration Steps for Power BI. For this integration type, you need to refresh access tokens periodically, as described in Access Token Refreshment.
  • Power BI Embedded Workspace (Obsolete): Power BI Workspace Collections service is being retired. We recommend that by June 30, 2018, you migrate to Power BI Embedded, so that you can keep using the embedded analytics capabilities you’re familiar with, and take advantage of additional Power BI Embedded features. For more information, see Power BI Embedded and How to migrate to Power BI Embedded.
  • Power BI Embedded : With this type of integration, the Microsoft Power BI Embedded tool is used for the integration of Microsoft Power BI reports. For the configuration steps, see Configuration Steps for Power BI Embedded.

You can use either of these types for adding Microsoft Power BI reports in MYOB Advanced.

Configuration Steps for Power BI

Before you integrate your MYOB Advanced instance with Microsoft Power BI, make sure of the following:

  • Your organization should be signed up for Microsoft Power BI. If your organization uses Azure Active Directory (AD) you can use your Azure AD account to sign in to Microsoft Power BI.
  • You have configured a Power BI report that you want to integrate in MYOB Advanced. For details, see Power BI.

To integrate your MYOB Advanced instance with Microsoft Power BI, you do the following:

  1. You obtain a client ID and client secret for your MYOB Advanced instance. For this procedure, see Specific Widgets: To Register Your MYOB Advanced Instance for Power BI.
  2. You set up integration on the External Applications (SM301000) form.
  3. You sign in to the Microsoft Power BI website with the credentials of a user who is an owner of a report that you want to integrate in MYOB Advanced.
  4. You add a report from the integrated Microsoft Power BI workspace in MYOB Advanced on the Application Resources (SM301010) form.
  5. You give user roles access rights to the integrated report on the Application Resources form.

After you perform these steps, the Microsoft Power BI report you have added appears on the selected site map location and is visible to users with the defined roles.

Configuration Steps for Power BI Embedded

Before you use Microsoft Power BI Embedded for integrating Microsoft Power BI reports with your MYOB Advanced instance, you should make sure of the following:

To integrate Microsoft Power BI reports with your MYOB Advanced instance by using Microsoft Power BI Embedded, you do the following:

  1. You create a capacity for a Power BI report that you want to integrate with MYOB Advanced on the Microsoft Azure portal. For details, see Create Power BI Embedded capacity in the Azure portal .
  2. You set up integration on the External Applications (SM301000) form. For more details, see To Integrate an External Application
  3. You add a report from the integrated Power BI capacity in MYOB Advanced on the Application Resources (SM301010) form. For more details, see To Add an Integrated External Application Resource to MYOB Site Map
  4. You assign user roles access rights to the integrated report on the Application Resources form.

After you perform these steps, the Microsoft Power BI report you added appears on the specified site map location and is visible to users with the defined roles.

Access Token Refreshment

When you integrate an external application in MYOB Advanced by using the OAuth 2.0 protocol, access tokens are generated by the application. These tokens have a short lifetime for security reasons. The tokens are refreshed automatically if MYOB Advanced connects to the application before the expiration date and time. If the application is called from MYOB Advanced rarely and the access token becomes expired, you need to refresh it to continue using the integrated resources of this application. You use the Refresh Application Access Tokens (SM501000) form to refresh tokens that are expired or about to expire. You can refresh tokens manually or schedule this process. We recommend that tokens be refreshed at least once a day.

Tip: You need to refresh tokens only for the Power BI integration type. Authentication tokens used by the Power BI Embedded integration type do not require manual refreshment.