Two-Step Verification

So I recently enabled Two-Step Verification on my Microsoft accounts. Soon after that Outlook was prompting me for a password repeatedly and not accepting my usual password. Great! Now what?

A simple Bing search revealed that these apps have no way of prompting you for a code like say a website. The same goes for a mobile device like my Windows Phone. Below is a link explaining what I just said in a little more detail.

http://windows.microsoft.com/en-us/windows/app-passwords-two-step-verification

Also for Two-Step verification, make sure you grab the Microsoft Authenticator app. Microsoft has an app for the Windows Phone and Android but none for the iPhone and from what I have found there is no Windows App either. Fortunately you can use the Google Authenticator app for the iPhone and Windows device with your Microsoft Accounts.

Microsoft Authenticator App for Windows Phone
http://www.windowsphone.com/en-us/store/app/authenticator/e7994dbc-2336-4950-91ba-ca22d653759b

Microsoft Authenticator App for Android
https://play.google.com/store/apps/details?id=com.microsoft.msa.authenticator

Google Authenticator for iPhone
https://itunes.apple.com/us/app/google-authenticator/id388497605?mt=8

Google Authenticator for Windows
http://apps.microsoft.com/windows/en-us/app/google-authenticator/7ea6de74-dddb-47df-92cb-40afac4d38bb

So in all it's all good stuff to have this Two-Step verification set up. Just be prepared to be pestered to setup some apps with it. I will also get a post up about how to create an App password for each app or device that needs one. Thanks!

BizTalk Role Links & Profiles

Imagine you are tasked with integrating with 30 or more ERPs into your business. Now imagine that you have to route messages to these ERPs and do it all through one interface. You are thinking "Great, this orchestration is going to be huge!" or "Holy smokes this is going to be a lot of port filtering". Well don't worry there is a better and easier way.

Google Analytics

Ever wonder how hard it is to do analytics on your website? I did and I found out that it is super easy and to the rescue is Google Analytics. As much as I am a Microsoft fanatic, Google Analytics is amazing!

So what do you have to do:

1. Make an account.

2. Add the code.

Ok well it's a little bit more complicated than that but it is amazingly simple. Signing up for an account is easy so I won't cover that. Once you log in to www.google.com/analytics you will be taken to the home page.


As you can see I already have two sites setup. So YOU are going to want to click on Admin at the top of the page. This will take you to the, you guessed it, Admin page where you want to add a Property. The middle column you will see a drop down menu. Click on it and at the bottom of the menu select Create new property.


Now you will be taken to the configuration page for the new property.


Here you will select the Features of the analytics you want, enter the website name, enter the website URL, Industry Category and the Time Zone. As of this writing that is the order on the page also. Very, very tough stuff....not. Once you click on Get Tracking ID all the information you need for your website will be generated. Navigate back to the Admin page and select your new property. Beneath your new property there should be a node called Tracking Info. Guess what's there. Your tracking info. Also inside that Tracking Info node is another node called Tracking Code. I swear they couldn't make this easier. Click on the Tracking Code node and something like the below will be displayed.


Now you are giving the code that will be put inside of your website to allow analytics data to flow abundantly. This script code will be placed inside the <header> tag just before the </header> tag. I have an example below showing this being done in Visual Studio.

Now the instructions say to put this code on every page you want to be tracked. So if you have 50 web pages, I hope you have a master page of some sort. Otherwise happy copy/pasting! My example shows this being implemented in a master page of an ASP.NET Web Forms project. It's actually my website. Once you are done deploy your code and wait for Google Analytics to get your data. Once Google is getting data go back to your Admin/Tracking Info/Tracking Code and at the top of the page there is a field called Status. It should say Receiving Data. If it doesn't be patient it will.

As you can see getting basic analytics from any website is very simple. Be sure to check out the Analytics Academy and the other resources found here.You can also use Google Analytics for your mobile app. I have not done this yet but be assured that I will and it will be blogged about. Thanks and talk to you soon! =)