Part One: Setting Up a Microsoft Teams Tug in Tugger
This process presumes you have registered for Tugger and have signed in. (Sign Up Here)
After the signup process, navigate to My Connectors if you do not see the following; My Connectors will display all available options, until you have added those you require - failing that, select: Connectors.
Select the Teams Connector > 'Add Connector'.
At the next screen, you will need to enter information so Tugger knows what to call your Connector, as well as how much data (the date you wish to Tug data from) and how often it will be pulled (Tugged).
On the next screen, see image below:
- You will need to enter information so Tugger knows what to call your Tug connector (1 in the image below).
- As well as how much data (2 in the image) which is the date you wish to Tug data from.
- And how often it will be pulled/Tugged (indicated by 3 in the image below).
Note: 4 in the image, which is reproduced below: The information and the steps in the image below should be performed before completing step 5, which is highlighted in the image above.
You will need Admin access to the Teams account on Office 365.
(The reproduced image from Tugger's website, with the steps highlighted.)
Once you are happy with your details for your Tugger connector, click on Authorise Access to Teams (5 in the previous to the above image).
If you are not signed into Office 365, you will be required to enter your sign-in name.
Note: You will need Office 365 admin access for this to work correctly.
Followed by your password.
... And then asked to Authorise (presuming you have 2-factor authorisation set up, which will require you to authorise on the device you use - perhaps your phone).
If you are already signed into Office 365 in the same browser as your Tugger account, then all of the above steps will be skipped; there is no specific Authorisation Screen as the action of signing in is the authorisation, which is how Microsoft have set this feature up.
Once done, you should be returned to Tugger.
... And after a few moments the page will update to advise that it's Tugging.
Once the data from your Teams account has been synced over, on the Summary page (highlighted below) the Tug Successful, will show: Yes; in addition, the Tug Status will also update.
Note: You may not be able to continue until the first Tug has completed.
You will notice that the time to sync is nearly 5 minutes (due to the very small - 127 rows - sample size of our dummy-data); your duration will be dependent on what you selected earlier: date-wise, and the overall quantity of data in your database. You can also hover over parts of the table to see the row counts at particular times.
It should be noted that Microsoft's Teams can be 48 hours behind for some data, so this will update as it becomes available and not as soon as Tugger has completed a Tug.
If you wish to change how often the syncing occurs, select the Settings shown above.
To continue with importing a report template into Power BI Desktop, please read on.
Part Two: Import your Teams data into Power BI Desktop
Pre-requisites for this part of the process are:
- Tugger: A ‘Tug’ created, and your data transferred. (At lease the first update of data progress has been reported on the Summary page.)
- Power BI .pbit template(s): download from Tugger (see image below).
- Signed in to your Microsoft Account within Power BI Desktop, which is required to publish to their Service.
The Report Credentials shown below, contain all you need to import your data from your Tugger Connector into Power BI Desktop (or Tableau, Excel and others).
If you need to download the report templates for your connector, these are available via Report Setup (image below, 1; then select 2, Power BI, and in the following page you will see the section indicated by 3, which contains the templates).
If you wish to see the step by step guide for the Power BI process, follow the link here:
- Setting Up Your Reports For The First Time in Power BI Desktop; otherwise, follow the brief overview below.
Otherwise: An overview of Importing a report template
On opening Power BI desktop for the first time, the following splash screen is displayed; subsequent opening, may have additional information presented, related to saved reports.
You need to be signed in to publish the report to Power BI Service, and as you can see I am already; if this is your first time opening Power BI, you will need to sign in if you intend to publish any of the reports. You will also see (bottom right) that there is an update available; these may be handled automatically by your organisation.
The simplest way to load the template is to click on it from the browser once it has downloaded, or to navigate to wherever it downloads to and double click on it; if you chose to do that, scroll down this document to the: 'Enter URL, sub heading'.
How to import the template via Power BI is displayed in the following 3 images.
… Close the Splash Screen.
Navigate to File > Import > Select: Power BI Template
Locate the report template (.pbit extension) previously downloaded.
... And Click Open.
Tugger’s Report Credentials Page (displayed again for clarity)
- The OData URL.
- The User name.
- The Password.
Regardless of what method you used to import the template, you will be presented with the following screen, once it has loaded/imported.
From the Report Credentials page above, copy the OData URL (1 in the image above) into the Tugger URL in the image below.
Then click Load.
If this is the first time you have loaded a report, you will be asked to enter authentication details; see Setting Up Your Reports For The First Time in Power BI Desktop, which contains more detailed information, although it is shown briefly below.
A Refresh pop-up dialogue appears:
This will update with values for the tables: bytes, Kbytes and Mbytes are usual, but will depend on the amount of data you have.
… After a few moments, an OData feed dialogue appears.
If this is the first time you are importing into Power BI Desktop (or if you have Regenerated the Credentials, the how-to is here, but is not needed for this installation and setup) the OData feed dialogue will pop up.
Once you have entered the Basic authentication details, you will not be asked again unless they are cleared from Power BI desktop - or refreshed in Tugger.
- Select Basic (1 in the image).
- Enter the User name and Password from your Tugger 's Report Credentials page (displayed previously; items 2 and 3 in the previously displayed image).
- Match the link in the dropdown to the link displayed at the top of the dialogue; if the levels don't match, then issues can develop later.
- click on Connect when ready.
After a few seconds, the Refresh dialogue will re-appear and updates to the content will become apparent; this is to be expected, and once complete the dialogue will disappear and the report should open (see below).
Note: If an error occurs after clicking Connect, see, Report Refresh Error.
There will be several tabs available...
(It should be noted that the dummy-data is a very small sample size, as was noted previously.)
… Highlighted at the bottom of the image is the open tab, and the tab-navigation buttons (forward and backward) for when there are tabs off-screen - not an issue for this report.
You may wish to just save the report at this stage, for example if you’re stopping now with a view to continuing later. It forms part of the Publishing Process, which follows this section, if you are continuing straight away, just give it a name that makes sense to you.
If you don't save now, you will be asked to when Publishing to Microsoft's Online Service.
File > Save As
… Save to a directory of your choice.
Part Three: Publish your Teams Data to Power BI Service (online)
Pre-requisites for this part of the process are:
- Power BI Service: setup (ideally, Workspaces and Access (permissions) added for Users as appropriate).
- Power BI Desktop report imported.
Please see the Power BI Online Workspaces and Users article for basic information relating to adding Workspaces and Users, including assigning the level of access users need.
We do recommend setting up Workspaces beforehand as although the report can be saved to a new Work Space later, it doesn’t copy all the components (no dataset - compare 1 and 2 below) when published, only the report. Not only this, but reports added to the default Workspaces level cannot be shared via assigning Access.
This may not be an issue, but those assigned to a Workspace without a Dataset cannot refresh it, and will have to rely on the automated refresh, unless they can get it manually refreshed by another user.
Select Publish, 1 in the above image.
If you haven’t already saved, then 2, as per the image below, will appear (and can even appear after previously saving).
A Save dialogue appears.
… Save (3) to a directory of your choice.
If you have already saved, after clicking ‘Publish’, the Publish to Power BI dialogue should appear, otherwise it appears after saving.
The steps are:
- Publishing and Saving (detailed previously).
- Search for Workspace (optional).
- Select My Workspace if you haven't created your own (not recommended).
- Or, select the Workspace created.
- Then click on Select (highlighted).
Note: If the only Workspace is called My Workspace (which is the default and always available) you may wish to Cancel instead of clicking Select. You could then create a Workspace - perhaps configuring access for Users at the same time (Available here: Power BI Online Workspaces and Users.). After creating a Workspace: Publish again to the newly created Workspace.
Once the report has been published, the following should be displayed. (First it will update on the publishing progress, before showing a link to the published report once it has completed.)
Navigate to Power BI online to find your report or click on the link available in the dialogue shown in the image above.
Part Four: Navigating to a Published Document in Power BI Online
After logging into Power BI Online, to navigate to your previously published report: see image below.
In the example here: Workspaces > Teams, as the image displays; the optional search feature is also indicated.
The next image offers a brief explanation of what is offered:
- This is the report (previously viewed in Power BI desktop before publishing); there is an opportunity to share this report, by hovering and selecting as appropriate.
- The main use – at least initially – is setting up how often your data from our secure data warehouse is refreshed. Click on the refresh icon, where you may need to enter Login details, authorising Power BI to access said data. The mini-tutorial for this can be viewed in Setting up Automatic Refresh in Power BI Online.
- The Share option.
- Perform a manual Refresh. (In our case here, grabbing updates from Tugger.)
- Set up Schedule Refreshes, although other options are available.
- The vertical Ellipse offers other options, including Delete, tailored to the either the Dataset or Report.
Note: this report contains only limited dummy data.
After selecting the report, or if following the link from Power BI desktop, the report (as shown below) is displayed.
The view for the reports are presented in a different manner to what Power BI Desktop displayed; instead of the multiple tabs, there are the Pages for the reports; the selected page is indicated.
It should be noted that some pages shown in Power BI Desktop are not automatically visible in the Service; viewing them is done via various methods, but often a Drill-through.
A quick example.
- Hover over the required item, which displays further info. via a popup. (The Team Dalton bar in our example.)
- Right click on it.
- Select the required page from the Drill through sub-menu; there should be at least one available.
You will be presented with an additional page, filtered depending on what was selected and where you drilled through from. Pages available in this manner are known as Hidden Pages, although they are visible (and need to be) in Power BI Desktop.
There can be further options, including Drilling throughs, but you won't know unless you look.
To return to the previous page, select the blue arrow in the circle on the top right of the page (indicated) or select one of the pages, also indicated.
This concludes the Teams Installation guide.