Introduction
This document describes Coins recommended deployment process for Microsoft Azure Power BI Embedded for use with Coins.
Prerequisites
Coins ERP+ server hosted in Coins Construction Cloud or on premise (including customers own cloud tenancy)
Customers own Microsoft Azure Tenant
A Power BI Pro licence
Access rights to create new resources in an Azure Subscription
Coins JSON template for Microsoft Power BI Embedded
Power BI Embedded Pricing Tier
Coins suggests using the Azure Power BI Embedded pricing tier 'A1' for typical testing and reporting development, higher tiers may be required depending on the customers expected reporting load.
Please see the Microsoft site for further information:
https://azure.microsoft.com/en-gb/pricing/details/power-bi-embedded/
Create an Azure Entra ID User Account
Create User
Login to Azure portal using an account with sufficient access rights to create new user accounts in your organisation's Azure Entra ID.
Create a new user that the Coins Power BI Embedded API will use for authentication.
This account must not use Multi Factor Authentication (MFA) as it will be used to access the Power BI Embedded API from within the Coins ERP+ system. If MFA is enforced for your Entra ID directory, you can configure MFA to be skipped for authentication requests from trusted IP addresses by following the guidance see Appendix A.
Create the account with a strong password and record this information securely
NOTE: If your organisation uses Active Directory Federation Services (ADFS) you must create the User Account in Azure Entra ID and not in your on-premises Active Directory.
Assign Licence
Assign a Power BI Pro licence to this user. For information on how to assign licences, please see the following Microsoft guide:
https://learn.microsoft.com/en-us/microsoft-365/admin/manage/assign-licenses-to-users?view=o365-worldwide
Create a Power BI Embedded Resource
Load Coins JSON Template
Log in to Azure portal using account with Owner rights to the applicable Azure Subscription..
Select Create a Resource, search for and then select Template deployment (deploy using custom templates).
Click Create and then select "Build your own template in the editor".
Click Load File and select the JSON template supplied by Access Coins.
Click Save
Complete Template Parameters
Complete the required parameters before clicking Review + Create, then Purchase.
Select the required Azure subscription and Resource group.
Enter a unique name for the Power BI Embedded resource.
Select the Azure data centre location nearest to your Coins server for best performance. If your Coins server is hosted in Microsoft Azure, select the same Azure data centre.
Select the Power BI Embedded Pricing Tier – Coins suggests 'A1' for the initial deployment.
Specify a user account from your organisations Azure Entra ID that will be the Power BI Capacity Administrator for this new resource.
See https://docs.microsoft.com/en-us/power-bi/developer/azure-pbie-create-capacity for more information on the creation of Power BI Embedded resources.
Power BI Embedded Configuration
After creating the Power BI Embedded resource, check the configuration matches your requirements.
Access Permissions: Select the Power BI capacity administrators blade and click 'Add' to add any additional employee(s) who will be responsible for creating the Power BI Workspaces in this resource.
Azure App Registration
Create Azure App Registration
Log in to Azure portal using an account with access rights to register Apps in Azure Entra ID.
Open the Azure Entra ID blade, select 'App Registrations' and click 'New registration'.
Specify a name for the new App Registration and click 'Register'.
Configure Azure App
Select the Authentication blade and select Add a platform, select "Mobile and Desktop applications" then add a custom redirect URI.
The Redirect URI should be "urn:ietf:wg:oauth:2.0:oob" (without the quotes). Please enter this URI carefully without altering the format. Click configure when done.
Under Advanced Settings in the "Allow public client flows" section switch the 'Enable the following mobile and desktop flows" to 'Yes' and then click Save.
Click 'Add a permission".
Select the APIs my organisation uses tab.
Enter Azure SQL in the search box.
Select the Azure SQL Database option.
Select Delegated permissions.
Check the Permissions option box.
Click the Add Permissions button to complete the process.
Click the 'Grant admin consent…' button to complete the changes.
Select the Owners blade and add the Azure Entra ID account created earlier. This is the account that will be used by the Coins Server to authenticate connections to Power BI.
Information Required for Coins Configuration
Provide your Coins System Administrator with the following information, this is required to configure the Power BI Embedded connection in COINS ERP+:
Azure Entra ID User Account name & password created for this Coins Power BI Embedded deployment
Azure App "Application ID"
Appendix A - Skip MFA for Trusted IP Addresses
Multifactor authentication (MFA) must be disabled for the user. If MFA is enforced for your Entra ID directory, you can configure MFA to be skipped for authentication requests from trusted IP addresses. In this scenario, MFA is skipped for requests from your Coins ERP+ server.
The following steps must be completed by an administrator of your Entra ID directory.
Open the Entra ID Admin Portal.
https://entra.microsoft.com/Select the Protection heading in the left-hand menu.
Select Multifactor authentication (you may first need to click on "Show more…" to see this option).
Select Additional cloud-based multifactor authentication settings.
Select Service settings tab.
Enter the public IP address of your Coins ERP+ server into the box labelled Skip multifactor authentication for requests from following range of IP address subnets, and click Save.
Note: If a hosted ERP+ customer, please ask your Coins Project Manager for the Coins ERP+ server IP address.

















