How to auto-refresh a Datazen dashboard in a web browser

image

This is a common question I get asked about Datazen – people have setup a live connection to their data and want to make sure their dashboard is automatically showing the latest information.  One scenario was they wanted to view a Datazen dashboard on a big TV screen and have it update every 10, 20, 30 seconds, etc.  I was going to do an article about building a custom solution in Visual Studio using an iFrame, javascript etc.  But much like Indiana Jones found out in Raiders of the Lost Ark, sometimes a simple solution can be quite effective.  Here’s how I solved this, Indiana Jones style –

1. Download a copy of the Mozilla Firefox browser to your PC and install it.

2. Once installed, open up the browser and click the “hamburger” menu on the right hand side.  You’ll see an option for installing a browser add-on
image

3. Click the add-on icon and you’ll see the add-on manager open up.  Do a search for the term auto refresh
image

4. You’ll see a number of different add-on’s appear in the results.  I chose to use the one called “ReloadEvery”.  It offers options to right-click a webpage and have it reload at certain time intervals, which is what I was looking to do.
image

5. Choose the install button to install the add-on.  Once installed, you’ll need to restart your browser to have the add-on enabled.  Note –  The developer of the app requests you donate a few bucks to his development efforts if you feel generous.

6. Let’s test it out – I’ll go to my Datazen dashboard and right-click on the page.  A new menu option has appeared called “Reload Every”
image

7. I can now enable the functionality and tell it how often I want the page to refresh.  I’ll choose every 10 seconds –
image

That’s all I need to do.  My page updates every 10 seconds, even if I hit F11 and leave it as full-screen.  An easy solution to common request!

How to render a Datazen dashboard as an image file

I was going to run with part two of my productivity blog series, but knowing the start of the NFL season is tonight, I’m guessing most folks will be watching that vs. searching for my blog posts.  So instead, I have a couple quick items for folks –

1. A minor server update was posted this week that fixed a couple small bugs that were on our backlog.  You can download the latest build here – https://www.microsoft.com/en-us/download/details.aspx?id=48112

2.  There’s a way to render your Datazen dashboard as a static jpeg file if you need to do so.  How practical this tip is might be debatable (as you’ll see shortly), but here’s how you do it  –

Using the web browser, navigate to the demo Datazen server – http://demos.datazen.com

image
Enter the username/password – datazen/datazen and hit enter.

Click on any of the dashboards to have them come up in your browser.  Note the guid of the dashboard in the address bar and copy it –

image
Change the address to the following format.  Note I have added the guid after the ‘xaml=’ part of this url –

http://demos.datazen.com/m/DashboardServer.axd?xaml=bfd44166-e13f-42a2-b453-da6f7539793c&v=635775225103435624&output=image&width=1024&height=768

Now the item returned in your browser will be a static image of the dashboard, which I can save and use locally.  It only returns the default state  and doesn’t accept parameters in the url.  Nor will it change to reflect the current dashboard state if you’ve interacted with it, etc. – DashboardServer

However, notice the fonts/style match those of the Windows Store App vs. the ones you see in a web browser.  This made it a useful trick when I needed a quick screenshot and I was still using a Windows 8/8.1 machine.  It also gave me an easy blog topic, so perhaps it was more useful than I originally thought.

Now, with that out of the way – Are you ready for some football?

Powerful Productivity using Power BI and Office 365 – Part 1 in a series

Alright the long weekend is here (and sadly over by the time I finished this post)!  And since Monday is was a celebration of the worker here in the US and Canada, I wanted to do something special for this post.  Microsoft Office is the go to productivity suite for 1.2 billion people every day.  That translates to 1 in 7 people on the planet earth using Office to get things done, both personally and professionally.

It’s also a key part of every successful business intelligence implementation I’ve seen – and I’m not just talking about the ability to export to Excel.  In my previous life in shadow IT, the VP I supported used to hammer this point home to me.  He and his team lived in the Office suite day in and day out to do their jobs, so whatever I was providing to his team, I needed to always keep that in mind.  They had jobs to do that didn’t involve learning a complicated new report or app – if it wasn’t easy to adopt, show immediate value, and work well with things like PowerPoint, Excel and Outlook, then it was dead on arrival.

While I’d like to think I did this pretty well, looking back now, I can’t believe how much additional work I had to do simply to achieve the same results I could get just a few years later.  And I’m not talking about me being more skilled (or balder) – the level of productivity someone can achieve using tools like Office365 and Power BI is STUNNING.

You’re probably thinking – “Yeah, it’s “stunning” a Microsoft employee is telling us how amazing their new stuff is,” as you roll your eyes and switch to Jen Underwood or Rob Collie’s blog.  I’ll admit, that isn’t a terrible idea, but hear me out.  I just want to see what my old job would have been and how much more I could have accomplished.  I used to spend my days building apps, setting up databases, building reports, etc.  With the way things have been automated and simplified in Office 365 and Power BI, could they be done now entirely using those tools?

“OH MY GOD – HE’S NOT BLOGGING ABOUT DATAZEN!  THE PRODUCT MUST BE DEAD, etc.” – Thought by at least one person reading this blog post.

To this person I say, yeah, um, no.  No, the reason I am not including Datazen is because one of the rules I need to follow for this self-imposed challenge is that I can’t use IT to setup a VM for me.  I have to do everything in the context of Office 365 and Power BI for this particular challenge.

So, without further adieu, here’s a typical project request I might have gotten 5-6 years ago –

There’s a request in my inbox from someone whose team needs a line of business app built.  They need a simple app built to capture ten fields of data for a one-off project.  A couple temps will be entering the data for a week or two, and they’ll need to do it via a web interface.  There are some reports I’ll need to build off of the data, and I’ll need to show the final numbers in PowerPoint deck I provide back to them so they can add some additional commentary.

Requests like this I used to eat for breakfast (along with Honey Nut Cheerios, usually).  Let’s assume this was asked of me in 2009.  I probably completed the request this way (FYI – SharePoint wasn’t set up and available to me) –

– Ordered a virtual machine (VM) from IT then waited until it was finally provisioned for me.
– Installed SQL Server 2005/2008 on the VM to host the database
– Setup Internet Information Services (IIS) on the VM to host the website
– Built the app using ASP.Net maker (which I had purchased myself) to do these little forms over database projects.
– Deploy the app to the server from my local machine
– Built a couple reports for them in SQL Server Reporting Services using Report Builder.
– Used SnagIt to grab screenshots of the reports and app I could use in the PowerPoint deck.
– Shared the files via e-mail to the folks for them to add commentary and present out.

I can’t believe that’s really how I used to do a project like that then.  At least in 2011 I could have used Visual Studio LightSwitch and Power Pivot.  Let’s try redoing that in Office 365 and Power BI –

1.  Starting with Office 2013, Microsoft Access can be used to make line-of-business apps that you deploy to Office365 sites.  These can be accessed via the web by users to enter data that’s saved in a SQL Azure database that Microsoft provides (as long as you have no more than 1 GB of stored data).

So I can open my team site in Office 365 and select Site Contents –
image

Then I choose Access App, and enter the title of the app I want to build.
image
I’m then greeted with a webpage that says I’ve successfully created the app.  I can start adding tables and screens in Microsoft Access on my desktop to finish the application.
image
About 7 minutes later (no seriously, I timed it), I have created my table and form, and it is now available online, via browser, for folks to start entering data –
image
I also need to run reports.  No problem there, since if I look back in Microsoft Access on the Info tab, I am provided information around how I can connect to my database and run reports –
image
Once I’ve created the read-only connection, I can open Power BI and use the direct connect with SQL Azure functionality to connect to the database and create my dashboards and reports.  To get my connection information, I grab the details from Access for the read-only connection –
image
and then plug it into Power BI –
image
This allows me to create a report in a web browser against the dataset immediately and share it out with individuals or a group.
image
Now I can add the report to a PowerPoint slide by using some newish, built-in PowerPoint functionality (remember, I can’t use the default Snipping Tool in Windows because it isn’t in Office 365).

In Office 2013 and Office 2016 Preview, under the insert tab, I can insert a screenshot right from PowerPoint.

image

If I select Screenshot, I see all the open windows on my desktop, and I can simply select the Power BI browser window that’s open to insert the screenshot.  I then resize my screenshot so they can add commentary to the slide accordingly.image
Once I’m finished my deck, I can save my PowerPoint deck either directly to an Office 365 site, or my personal OneDrive for Business site and share the file securely via a link in my web browser to approved users only.
image

Once folks get the link I send via Outlook and Exchange, they can review the deck together if they  wanted and even make the changes in real time.

So I was able to meet the goal of only using Office 365 and Power BI to complete the project.  How much more productive was I?  The amount of time I estimate it would have taken me to complete the project previously was –

– Minimum 2 weeks (336 hours) for a VM to be provisioned for this project.
– 2 hours to setup SQL server
– 1 hour to setup IIS
– 3 hours to build and test the app
– 2 hours to deploy the app to IIS and test (this never worked right away)
– 2 hours to build and test the Reporting Services reports
– 1 hours to build the slide deck and send via e-mail

So 348 hours minimum were needed to get everything done on my side, and this is assuredly being generous with the estimate.  How long did the same thing take using Office 365 and Power BI?

– 0 hours for VM setup (not required)
– 20 minutes to build, test and deploy app
– 0 hours to setup IIS
– 0 hours to setup SQL server
– 20 minutes to build report in Power BI
– 1 hours to build the slide deck and share the link for review

So I went from needing 348 hours to needing about 2 (let’s round up).  That’s a productivity improvement of over 150x!  Just think about that – this project went from something I had to do a fair amount of additional work around just to request the VM, do all the setup and configuration, etc. to something I could have back to them for the initial data entry piece within an hour of the original request.  Plus, the entire project can be done or reported on from every mobile device.  Yeah, that wasn’t a requirement for the project originally, but it certainly would be now, and that’s all included with no additional development work required on my part.

I really enjoyed doing this first post in this series – it’s easy to forget just how powerful the tools like Office 365 and Power BI are (I know I often take this stuff for granted) and how much value they bring to our customers.    I’ll do more of these now and again that I sprinkle in between my normal Datazen posts, which I know my dozens of loyal readers eagerly await each week.

Thanks for reading!

How to set default selection values for Datazen HTML5 reports

Here’s a tip you can use for Datazen reports you view in a web browser.  As you probably know, you can drill thru from one dashboard to another in Datazen.  But did you know you can pass dashboard parameters through the URL?

Here’s an example of what you can do –

On the public Datazen dashboard site, you have the “Media Sales By Category” dashboard.

image

When you open it, you see the URL looks like this –

http://demos.datazen.com/viewer/publicdashboard?dashboardguid=6c4900f6-e833-4b99-92df-beba47b84fbf&v=635767662624137089&bg=ffffff&fg=999999

You can add the parameter for the category dropdown at the end of this web address.  It’s easy to find what the syntax would be – it’s available in the “Custom URL Parameters” screen in the Datazen Publisher, which pops up when you want to create a drillthrough to a custom URL.

image

In this case, the parameter syntax is – SelectionList01.SelectedItem, so my URL would look like this if I wanted to have the dropdown list set to “Print” –

http://demos.datazen.com/viewer/publicdashboard?dashboardguid=6c4900f6-e833-4b99-92df-beba47b84fbf&v=635767656921122468&bg=ffffff&
fg=999999&SelectionList01.SelectedItem=Print

Putting that URL in my browser gives me the following screen –
image
You aren’t limited to one parameter, either.  You could set it for as many as you have available in your dashboard, so it could be as detailed as this URL, for example –
http:/server/viewer/dashboard?v=1414428039277&apilocation=server&dashboard=Cascading%20DSG%20Dashboard%20-%20Target&group=Runtime%20and%20GE%20Issues&hub=V3%20Testing&TimeNavigator.SelectedStartTime=2014-03-01T00%3A00%3A00&TimeNavigator.SelectedEndTime=2014-11-01T00%3A00%3A00&TimeNavigator.ViewportStartTime=2014-03-04T02%3A25%3A47&TimeNavigator.ViewportEndTime=2014-10-28T21%3A34%3A12&TimeNavigator.TimeUnit=Month&SelectionList.SelectedItem=&
SelectionList.SelectedItems=&SelectionList01.
SelectedItem
=&SelectionList02.SelectedItem=&SelectionList02.
SelectedItems
=&SelectionList03.SelectedItem=&SelectionList03.SelectedItems=&SelectionList04.
SelectedItem
=&SelectionList04.SelectedItems
=

Maybe this will spark some ideas for folks – You could wrap your Datazen dashboard in an iFrame and pass parameters to the url, then maybe setup an auto-refresh of the dashboard in the frame without losing your parameter selections.

It certainly sparked that idea for me, but I want to watch SportsCenter before I fall asleep, so I’ll leave that project for another of my fellow bloggers . . .

Thanks for reading!

Overview of Datazen Parameter Replacement Functions

Wanted to highlight a new Technet article by my colleague Christopher Moncayo about some Datazen specific functions for parameter replacement.  These can be helpful when you’re writing new queries for your data sources and need to simplify things a bit.  The article can be read here –

http://social.technet.microsoft.com/wiki/contents/articles/32028.datazen-data-view-parameter-replacement-functions.aspx

Thanks to Chris for putting this together!

How to insert a live Datazen dashboard into a PowerPoint slide

image

This is one of these posts where I’m reverting to my old “Radar O’Reilly” mode of having to simply figure out a way to get something done, by hook or crook.  That was often the missive I was given from the business – didn’t care how I got it done, just needed it done, as long as it wouldn’t get anyone arrested.  So with that in mind, I wanted to see if there was a simple way I could enable this (without getting arrested).

What made the most sense to me was to insert a web page into a PowerPoint slide and take advantage of Datazen’s public access support.  Since PowerPoint doesn’t support embedding a web page out of the box, I was going to install an add-in called LiveWeb, which allows you to do just that.  However, and this is important, Microsoft doesn’t recommend you do this for security reasons.  Microsoft gives you a workaround for this, but let’s see if we can’t find a better way (since I’m not looking to provide advice counter to that of my employer).

My next thought was – why not check the Office Apps Store to see if we have an official add-in?  If you haven’t used the Office App Store before, it’s an easy way to find apps, both free and paid, for your Office365 programs to use as add-ins.  To start using them in your next presentation –

1.  Go to the Insert Tab in PowerPoint.  You should see the Store Add-In in the ribbon.  Click it to open the App Store –
OfficeSnip
2.  A pop-up will open with the apps available in the store.  You can now run a search for the app you wish to use
image

Since I wanted to use a web viewer add-in for PowerPoint, I typed Web Viewer into the search bar and hit Enter.  And what do you know?  Microsoft has created an app to do exactly what I wanted to do.  And it’s free!

image

I added the app to my slide and then entered the Datazen dashboard address I wanted to include.  Since it’s configured for public access, I wasn’t prompted for my user credentials and it was added and worked.image

And since it is treated like any other slide element, I was able to redo my slide accordingly.  Ta da – I’m able to add proper commentary and still have a fully interactive, live dashboard!

image
This wasn’t too tough after all, and I didn’t mess around with my registry to get it to work.  Success!

Thanks for reading, and enjoy the rest of your weekend.

How to connect to Teradata from Datazen

Greetings, folks!  Here’s another short and sweet post around connecting to a popular data source, Teradata.  This is even easier to do than the data connections outlined in the previous posts, since you can use the native ODBC connection that comes with Datazen out of the box.

To use Teradata with Datazen, follow these steps –

1. You need to download the Teradata ODBC driver here (you’ll need to register for an account).  I’d suggest you download the Teradata Tools and Utilities (or TTU for short) so you can test things if you run into issues, but you can just download the ODBC driver and plow ahead if you’re a gambling man.  You’ll need the 64-bit version of the driver.

clip_image002

2. Once you’ve installed the driver on the Datazen server, setup a new ODBC connection.  You’ll need to save the username/password in the connection, and leave everything else as the default settings or if you want to set a default database in the connection, that’s fine as well.
teradata
Excuse the scribbling to hide the IP address, trying to use Paint on an airplane with your touchpad is not a great experience.


3. From the control panel in Datazen, add a new data connection and select the ‘Generic ODBC DSN’ provider.  Enter a new connection name and the ODBC DSN and hit ‘Test Connection’.  You should see a message saying you’re successful –
image

See?  Easy peasy.  Have a great week, folks!

Use a Powershell Script to Restore Datazen Server

image

Happy Wednesday, everybody.  This post is short and sweet, but potentially a big time saver for you.  So you need to backup and restore your Datazen server for whatever reason.  There’s instructions in the documentation on how to do this, but the process of restoring the server can be automated even further using Powershell.

I’ve included a download link to a Powershell script that automates the restoration process of Datazen.  While you’ll still need to setup and run the backup through the control panel as either a one-time event or on a scheduled basis, this script will do the following –

– Stop All Datazen Services
– Delete the Data Folder
– Restore the backup using Raven
– Defrag the database
– Run Datazen.Server in console mode to sanitize the installation
– Start the services again

Note (thanks, Rui!) – Make sure the service account that is running the core service has access to the new data folder, whether by updating the script or confirming access is available manually.  If it doesn’t, the core service will hang when it starts.

The biggest thing to remember when doing this process is that you are using the correct Datazen Instance ID that you want to restore.  This process assumes your current server and your backup are using the same instance id.  If, however, you need to restore or move the Datazen server to a new server, and restore an existing db there, you’ll need to reinstall Datazen using the command line and specify the instance id.  That process is outlined here.

As promised, here’s the Powershell script you can use – http://1drv.ms/1TsbWZE

Thanks for reading!

Using Datazen with Plus One to visualize your social media data

image

The idea for this post came from having spent the last year or so playing with a app called Plus One.  Check out their site to learn much more about it, but in short, it’s an app you download onto your desktop, enter the keywords you want to search across different social networks (Twitter, Facebook, etc.), and get back the results.    And in the FAQ, it states – “You are not limited to just the reports found within Plus One Social.  Because we store the data in a friendly desktop database, Microsoft Access, you can connect your favorite self serve bi tool . . .

Naturally, I wanted to see if Datazen would work with Plus One, which meant I had to do a few things I hadn’t done before to get started –

– Install the Plus One application on Windows Server and
– Use Microsoft Access as a data provider

Installing Plus One is pretty straightforward – you go to this link, enter in your information, and they’ll send you the download link.  Download and install the app on the Windows Server you’re running Datazen on, and the Plus One icon will appear on the desktop.

image

This next part is tricky – BEFORE you try to open the app, you have to install two Access ACE ODBC drivers.  If you try to do it before that, you’ll get an error message.  The problem is, Datazen requires the 64-bit ODBC driver, while Plus One requires the 32-bit driver.  So how do we work around this?

1. Follow the instructions in this blog post to install the driver and setup the data source that Datazen needs.  However, use this data provider schema file as opposed to the one in the post because you need to leverage Access as your data source, not Excel.

2. Once that’s done, install the 32-bit Access Driver from here.  It’s from the 2007 version of Office, so there’s only one item to download and install.  That should allow you to open Plus One Social to get started.

Open the app now, and you’ll see the search bar where you can enter your search terms.  I’m going to do a search for Twitter data related to Datazen (surprise, surprise), so I type in datazen.
image

I’m asked to authorize the app on my Twitter Account (you need accounts with the different social networks you want to search across)image

I authorize the app, and it grabs the results from Twitter.  It’ll then go and grab the last seven days of tweets (Plus One is limited to one week of data, so you’ll need to save it on a rolling basis to keep older data), and I can even setup an auto-refresh to get the latest data.
image
Now that I’ve got my Twitter data, I want to view it in Datazen.  The default Access database sits in the following folder location on the machine –

C:\Users\UserName\Documents\Plus One Social\PlusOneDB.accdb

If you were to open the file in MS Access, you’d see five tables with data – Hashtags, Mentions, Messages, Queries, and Users.  You can now write SQL queries against those tables in the Datazen server to pull back the data you need for your dashboard(s).  Let’s do one together.

I’ve got the Microsoft Access data provider all setup
image

I want to see what platform people are using on my dashboard, whether it’s iOS, Android or something else.  So I’m going to write a simple case statement query to bring back the results.  Something like this –

SELECT Source = CASE WHEN Messages.Source like ‘%iPad%’ THEN ‘iOS’ When Messages.Source like ‘%iPhone%’ THEN ‘iOS’ WHEN Messages.Source like ‘%Android%’ THEN ‘Android’ ELSE ‘Other’ END,
Count(Messages.MessageID) AS CountOfMessageID
FROM Messages
Group By CASE WHEN Messages.Source like ‘%iPad%’ THEN ‘iOS’ When Messages.Source like ‘%iPhone%’ THEN ‘iOS’ WHEN Messages.Source like ‘%Android%’ THEN ‘Android’ ELSE ‘Other’ END

Except I get an error –
image

The issue here is you have to write the SQL Query like you would in Access, when doesn’t use case statements.  It does use switch statements, so I try that instead –

SELECT Switch (Messages.Source like ‘%iPad%’, ‘iOS’, Messages.Source like ‘%iPhone%’, ‘iOS’, Messages.Source like ‘%Android%’, ‘Android’,True, ‘Other’ ) as Source, Count(Messages.MessageID) AS CountOfMessageID
FROM Messages
GROUP BY Switch (Messages.Source like ‘%iPad%’, ‘iOS’, Messages.Source like ‘%iPhone%’, ‘iOS’, Messages.Source like ‘%Android%’, ‘Android’, True, ‘Other’ )

image
And that works without issue.  I went ahead and created seven different queries in total –
image
and set them up to refresh every hour, making sure I set it to run 10 minutes after I know my refresh on Plus One will finish.
image
With that all setup, it was easy to create my dashboard (thanks to Datazen) and always stay on top of our social media activity.  This was the end result –
image

Thanks for reading!

Respect my security – A primer on Datazen user authentication

Almost every customer conversation I’ve had around Microsoft Business Intelligence the past few years has had part of it devoted to a conversation around security.  This isn’t my favorite topic to cover off on.  It’s a little like going to the dentist – that isn’t my favorite thing to do either (even though I truly like my dentist). 

But security (and visiting the dentist) are still very important, so I want to use today’s post to spend some time explaining what Datazen can (and can’t) do when it comes to each of the authentication options it supports  –

Datazen Authentication (default) – ah, good ol’ Datazen Authentication.  The preferred authentication option for demo server builds everywhere.  This is the easiest option to setup, and easiest for everyone to understand.  You create a user on the server, they get a link to reset their password, and all the credentials are assigned (and stored) on the Datazen server.

When should you use this – if you read the Security Best Practices in the Datazen documentation, your answer would be never.  But there are some legitimate reasons where it probably makes sense for you to use this authentication scheme –

– It’s a test/development server or a quick proof of concept.
– You’re looking for the simplest setup possible to start using Datazen.  You can invite users just by using their e-mail address.
– You have a scenario where you are servicing external users who wouldn’t be in a domain to leverage Active Directory.
– You’re a long haired hippie who likes to let their hair down and live on the wild side, not worried that the Datazen server could be used as an attack vector.

Far out man – classic authentication!

Okay, forget that last point.

Windows Authentication –

This option is the one that most people will probably end up leveraging when it comes to Datazen.  It’s also the one that generates the most confusion – let’s see if I can’t clear that up a bit.

Generally, people assume when they setup users in this scenario, the Datazen server is communicating with the domain controller during that process to validate them.  It doesn’t – you could create bozotheclown@microsoft.com as the username, and Datazen will show a success message when you finish user creation. 

image
Wait a minute . . .

Datazen doesn’t check the users in the domain until someone actually attempts to login as that user – it does a check against the users in the domain and makes sure it matches.  If it can’t find the user in both the Datazen server AND the domain, it’ll fail.  This is why you can’t leverage Active Directory user groups – Datazen wants to find a 1:1 match.

So the time saving benefit around user setup that you’re expecting to get using a Windows authentication vs. Datazen authentication doesn’t exist from an admin perspective.  (Saying this was an oft-requested feature enhancement people are looking for is an understatement.)  It also doesn’t change the way the users have to authenticate when they are hitting the service from an app – the first time they connect to a Datazen server, they still have to enter a username/password.  It’ll be their network password, sure, but it’s the same experience as Datazen authentication for them.

The only place a single sign-on experience can be enabled for them is in a web browser.  This is true for both WinAD AND for ADFS – the app experience will ALWAYS require entering a username and password the first time you connect to a Datazen server (at least for now, anyways).

So why use Windows Authentication?
– No passwords stored on the Datazen server
– Looking to enable Analysis Services row-level security
– You’re integrating Datazen into a SharePoint site or custom app, and want an improved user experience when they use the dashboards in that context (no additional login page).
– You don’t want IT to yell at you, or you are IT and Windows Authentication is the standard security option for this type of application.

ADFS (Active Directory Federation Service)

This is where the dentist drill is at full-bore for me. Setting up ADFS is not for the faint of heart, and I’m not going into the weeds on that or in any other post on this blog (ever). If you want to see the process from start to finish, this blog post does that wonderfully.


”Oh, please don’t worry. I’m not going into that cavity.”

However, this is the most secure option if you have ADFS already setup in your organization. It will ensure no user credentials are stored on the server, but you still need to go through the user setup on the Datazen server. It also offers some additional options for the security team, like using a smart card to login to the Datazen server.

However, and without getting into the sordid details of why, Single Sign-On doesn’t work with that type of login security scenario. Should it work? Yes, it should, but it doesn’t. It’s something that will be addressed by the team as we move forward with the product.

External authentication

This option works in the opposite manner of Windows Authentication – a user’s username and password is checked first against an external source, then looks for a match on the username stored in the Datazen server.  You have to be careful when using this method because –

– You’re assuming the username and password are checked.  If that isn’t setup properly, it’s a massive security hole you’ve potentially enabled.
– The mobile apps don’t work with it.  It was designed for web-only scenarios.
– You can’t make changes to the server when you are running in external authentication.  You need to switch to another authentication method, make your changes, and then switch it back.

I’ve not run into a customer yet using this setup, so I’m curious to hear from folks on how they’re using it in their organizations.

Whew – now that our visit to the dentist is over, hopefully you have some more clarity around the different user authentication options in the product.  The team is fully aware of the limitations I’ve called out in this post, and we’re committed to improving these options as the product is fully integrated into the Microsoft platform.