Showing posts with label alm. Show all posts
Showing posts with label alm. Show all posts

Monday, March 23, 2020

Get-AzKeyVaultSecret failing with 'Forbidden'

While preparing the pipeline scripts for the current project, I was not able to fetch the secrets form our KeyVault via Powershell using Get-AzKeyVaultSecret.

The Access Policies have been configured correctly and I was owner of the subscription.

Unfortunately, the KeyVault requires explicit 'owner' permissions on KeyVault level to make this work.



Error
Get-AzKeyVaultSecret : Operation returned an invalid status code 'Forbidden'

Solution
Grant owner permissions (temporarily) to your AD-User on KV-Level.

Cheers

Tuesday, December 18, 2018

Setup Web Deploy for Windows Server

To simplify the deployment of web apps / web services on a load balanced system, you want to use a central point for deployment (I am in an environment currently where the development happens completely outside the customer network, so there is no Build Server etc. available, we scripted the deployment).

1.) Enable the IIS features you need and dont forget "Web Server (IIS) --> Management Tools --> Management Service
2.) Install Microsoft Web Deployment Tool (https://www.iis.net/downloads/microsoft/web-deploy)

3.) Make sure the "IIS Deployment Handler" node is enabled (by default this is not checked)

4.) Open link "https://:8172/msdeploy.axd"

Note: You need to apply those changes on all web servers.

cheers

Monday, June 10, 2013

Visual Studio 2013 / Team Foundation Server 2013 Overview

Brian Harry posted a nice "2013" overview.

From my perspective, at the moment the most interesting features are

  • Nice UI Upgrade of TeamExplorer (Icons)
  • Solution-Overview in TeamExplorer
  • Pending Changes improvements
  • Testplan Management in WebUI
  • Team Rooms 

Cheers