Hiding Unused Services within VSTS

Visual Studio Team Services
New Navigation (Preview) Last month, Microsoft announced some navigation UI changes coming to Visual Studio Team Services (VSTS). In short, the VSTS UI now places the primary navigation controls vertically, along the left side of the page. For example, once enabled, the default page for a project in VSTS might look something like this: The vertical navigation changes are still in preview*, so you will need to enable the preview to get the new behavior. To do this: Sign in to VSTS and click on your profile picture in the top, right-hand corner of the page. Click on the Preview features option. Click on the slider next to New Navigation to enable the preview feature. As an additional bonus, you might see some preview features that you didn't realize were…
Read More

Mix-n-Match Microsoft, AAD (and other) Accounts in Firefox

Add-ins & Extensions, Tips
If you’re like me, you have no doubt collected many various accounts over the years. I have several Microsoft Accounts that are tied to Visual Studio Team Services (VSTS) and other offerings. I also have multiple Organizational (Azure Active Directory) accounts tied to Office 365, corporate accounts, etc.Until now, I’ve relied on having multiple web browsers, or “incognito/private” windows, to help me keep my various accounts separated. For example, on my work computer, I would use Firefox for anything that utilized my personal Microsoft Account (MSA), Chrome for anything that utilized my work-related MSA (e.g. for accessing VSTS) and Edge for miscellaneous other accounts. At home, I relied on a similar setup to keep my accounts separate.While this has worked for me for the past few years it has always…
Read More

Base64 Encode/Decode Visual Studio Extension

API, Extensions, Visual Studio
If you’ve followed any of the API articles that I’ve published then you know that anytime we have the need to include a Personal Access Token (PAT) as part of the Authorization header we have to Base64-encode it first. While it’s pretty easy to jump into your favorite search engine and find an online Base64 encoder (Bing has one built into the search engine!) sometimes it’s nice to not have to leave the Visual Studio IDE. For this reason, I created a simple Visual Studio extension that can Base64 encode/decode text.The add-in is pretty easy to use and shows up as a tool window that you can dock wherever you like. In the screenshot below, I have it docked at the bottom alongside the Output and Error List windows.To use…
Read More

Adding VSTS-Users to VSTS-Tools Samples

API, Visual Studio Team Services
It’s been about two years since I originally created the VSTS-Tools project on GitHub. The original release had two command-line tools included with it:VSTS-Get – CLI to download a single file or entire folder tree from VSTS (only Git is supported at this time). VSTS-Keep – CLI to set (or remove) the “Retain Indefinitely” retention flag for a given build. Not only were the tools meant to be somewhat useful (I used them then and still use them today) but they were also meant to act as yet another set of examples on how you might make use of the Visual Studio Team Services (VSTS) APIs.Recently, I posted some examples on how to get a list of VSTS users via API calls. For the sake of completeness, I have now…
Read More

PSA: New MSAs Can’t Use Org. E-mail Addresses

Tips, VSTS
I just finished the post, Get a List of VSTS Users with APIs, which was inspired by some work I’ve been doing to prepare for migrating my organization’s VSTS accounts to be backed by Azure Active Directory (AAD). The reason we are doing this now is a) because we’ve waited way too long to do it and, b) because Microsoft has now imposed a deadline of March 30th when it will no longer allow Microsoft Accounts (MSAs) to be created with an e-mail address that is also an organizational ID (e.g. a Azure/Office 365 account).Straight from Justin Marks’ announcement:On September 15, 2016, the Azure Active Directory (Azure AD) team blocked the ability to create new Microsoft accounts using email addresses in domains that are configured in Azure AD. Many VSTS…
Read More

Get a List of VSTS Users with APIs

So, I’ve recently been preparing to switch our organization’s VSTS accounts over to be backed by Azure Active Directory and I have a need to export a list of all VSTS users within our accounts. After getting some assistance from the Visual Studio product group (thanks!) I was able to make use of the Member Entitlement Management API for VSTS. Since it’s been a while since I’ve done a VSTS API post I thought I’d share how to get a list of VSTS users (and other related information) using this API.PostmanPreviously, I’ve used Fiddler to quickly test API calls. In this post, I will use Postman to do the same. While Fiddler has some great features I like the simplicity of Postman’s user interface. If you’ve not used Postman, I…
Read More

Change Image Size in VSTS Wiki

I came across this on a mail list a short while ago and thought I would share it out…If you’ve been making use of the Wiki feature within VSTS then you already know how useful it is for providing documentation, notes, etc. in a centralized location for your VSTS projects. If you haven’t tried the Wiki feature out yet, you really should!The Wiki utilizes markdown syntax to provide you with some basic text formatting features such as bold, italics, underline, bullets, numbered lists, etc. It also provides some basic syntax for visualizing images. For example, the following is markdown syntax for displaying an image:![api.png](.attachments/api-6c96846f-6a2f-4ad3-9a5e-5d96071cfbbb.png)[Side note: the GUID-looking image filename is due to me dragging and dropping an image file out of Windows Explorer directly into the Wiki.]When the image is…
Read More

Roadmap to Enterprise Quality

Conferences, Quality
For the past few years I have attended the Farm Credit IT Symposium. This years’ symposium was held last week in Austin, TX where I had a chance to present on a couple of topics. One of my talks was titled Roadmap to Enterprise Quality. The description for the presentation is as follows:In this presentation you will learn how Farm Credit Services of America/Frontier Farm Credit transformed their quality practices and tooling to bring visibility and consistency to Enterprise Quality, including: testing as a team approach, creating an automated test architecture, measuring progress with dashboards and standardizing on a set of testing tools.If you’re reading this blog post there is a decent chance you are somehow involved in software development. One of the key concerns with software development is that…
Read More

Connect(); 2017 – Day 1 Recap

Conferences, TFS, Visual Studio 2017, Visual Studio Code, Visual Studio Team Services
Day 1Day 1 of Connect(); 2017 is in the books! If you didn’t get a chance to watch the live streaming event earlier today you can catch up on the various presentations and announcements here.There was a lot of exciting announcements made at Connect(); today. While I have no doubt missed several of them I have made an attempt to include most of the highlights below. If your favorite announcement isn’t in the list, please include it in the comments section below so we can all learn about it!Come back to the same location tomorrow at 11:00 AM EST to catch all the action of Day 2!AnnouncementsTFS/VSTS/DevOps Related Items (from Brian Harry’s blog)Team Foundation Server 2018 (final release). This release includes a lot of functionality, including:Mobile Work Item Experience -…
Read More

Microsoft Connect(); Year Four!

In case you missed the announcement a few days ago, Microsoft has announced it will be holding it’s fourth Connect(); conference on November 15th – 17th, next month.If you build applications using Microsoft tools and/or any of the open source projects that Microsoft is involved with then you will definitely want to check out this free, on-line event!From the event’s web site:Whether you are creating cloud native-applications, targeting the edge of devices and IoT, infusing your apps with AI, or just getting started, Connect(); 2017 will inspire and equip you with the tools and skills you need to build the apps of the future.Through Connect(); you’ll:Learn from top developer minds and industry experts like Microsoft Executive Vice President, Scott GuthrieDiscover what’s next for developers across Microsoft and open source technologiesExpand…
Read More