Black Marble
open-menucloseme
Home
Sub-Sites
Main Black Marble Website
  • How to run your own maintenance job on Azure DevOps pipelines

    author Richard Fennell calendar Jul 12, 2023 · 5 min read · DevOps  ·
    Share on: twitter facebook linkedin copy

    Updated: 19 Jul 2023 - Revised the post to use Az CLI Task as opposed to a PowerShell Task

    Updated: 29 Aug 2024 - Revised the PowerShell as original version was not working. Also see follow up post on using Workload Identity federation

    Background

    Azure DevOps Pipelines have a built in mechanism to run maintenance …


    Read More
  • Bit rot is killing my pipelines

    author Richard Fennell calendar Apr 26, 2023 · 2 min read · Opinion DevOps  ·
    Share on: twitter facebook linkedin copy

    In a modern hybrid cloud world we have to accept constant change as the norm. You can't just build something and forget about it. You have to keep it up to date as newer tools/libraries appear. This is to at least address security issues, even if you don't want to adopt the new features.

    So I am expecting a degree of …


    Read More
  • Moving my Azure DevOps Pipeline generated social posts to Azure Logic Apps

    author Richard Fennell calendar Apr 25, 2023 · 2 min read · Tech Tips  ·
    Share on: twitter facebook linkedin copy

    I posted a while ago about how I had automated the generation of social media posts for my static Hugo based website using Azure Logic Apps.

    The other place I auto-generate social media posts is from releases via my project's Azure DevOps Pipeline builds. These use a YAML Pipeline Template that calls a Marketplace task …


    Read More
  • A more secure alternative to PAT tokens for accessing Azure DevOps Programmatically

    author Richard Fennell calendar Apr 21, 2023 · 3 min read · Tech Tips  ·
    Share on: twitter facebook linkedin copy

    Background

    When working with Azure DevOps, you may need to access the REST API if you wish to perform scripted tasks such as creating work items, or generating reports. Historically, you had to use a Personal Access Token (PAT) to do this.

    If you look in my repo of useful Azure DevOps PowerShell scripts you will find …


    Read More
  • Downloading NuGet packages with 'System.Net.WebClient' from an Azure DevOps Artifact feed

    author Richard Fennell calendar Apr 1, 2023 · 2 min read · Tech Tips  ·
    Share on: twitter facebook linkedin copy

    Background

    We use Lability to build Windows Server images for our test labs. Lability makes use of Desired State Configuration (DSC) to build the VM images. Part of this process is for Lability to download DSC modules, as ZIP files, from a NuGet feed such as PowerShell Gallery to inject into the created VM image. …


    Read More
  • Pinning specific Azure DevOps task versions

    author Richard Fennell calendar Mar 8, 2023 · 1 min read · Tech Tips DevOps  ·
    Share on: twitter facebook linkedin copy

    I make every effort keep all my Azure DevOps Pipeline extensions reliable as I know they are used by many people, but mistakes happen.

    Yesterday I released an updated version of my ReleaseNotes task that introduced a bug if the pipeline produced no artifacts. I am pleased to say I have fixed the bug, and addressed this …


    Read More
  • Getting x86 .NET 3.x tests running on the latest Azure Devops hosted agents

    author Richard Fennell calendar Mar 6, 2023 · 3 min read · Tech Tips DevOps  ·
    Share on: twitter facebook linkedin copy

    Background

    At Black Marble we have our own private build agents, but they are built using the same Packer process as the Microsoft hosted ones. I recently rebuilt our agents to match the latest version of the hosted agents, and I ran into an issue with some .NET 3.1 based x86 MSTests. The tests were failing with the …


    Read More
  • Getting "cannot find path" error using Install-Package

    author Richard Fennell calendar Feb 27, 2023 · 1 min read · Tech Tips DevOps  ·
    Share on: twitter facebook linkedin copy

    Background

    I was recently trying to use PowerShelGet Install-Package to install a module from an Azure DevOps Artifacts hosted PowerShell Gallery using the following script

    1# For authentication use a PAT as the password, UID can be anything
    2$PATcreds = Get-Credential 
    3Register-PSRepository -Name BM -SourceLocation …

    Read More
  • What happens when you link an Azure DevOps Variable Group to an Azure Key Vault?

    author Richard Fennell calendar Feb 13, 2023 · 2 min read · Tech Tips DevOps  ·
    Share on: twitter facebook linkedin copy

    Background

    It is a really useful feature that you can expose Key Vault stored secrets as Azure DevOps pipeline variables via a variable group, but what happens when you do this? And what can you do if you try to expose too many variables?

    I was recently working on a system where there was an increasing number of Key …


    Read More
  • Handling return values from Azure Functions in Hugo static website

    author Richard Fennell calendar Jan 20, 2023 · 4 min read · Tech Tips  ·
    Share on: twitter facebook linkedin copy

    Background

    I am using an Azure Function as backend for processing forms submissions from a Hugo static website, to process a simple contact form.

    I wanted to add reCAPTCHA support, as the site was generating too many spam emails. I also wanted to show a different confirmation pages depending on whether the reCAPTCHA …


    Read More
    • ««
    • «
    • 5
    • 6
    • 7
    • 8
    • 9
    • »
    • »»

It works on my PC photo

It works on my PC

The random thoughts of Richard Fennell on technology and software development

github rfennell
linkedin richard-j-fennell
twitter/X richardfennell
mastodon techhub.social/@rfennell
instagram richard.j.fennell
bsky richardfennell.bsky.social
Personal Blog blog.richardfennell.net
RSS RSS
about presentations reading projects

Recent Posts

  • Using GitHub Copilot to write an Azure DevOps Test Plan Export Tool
  • Presenting at Black Marble event GitHub Copilot how to harness the power of AI for Developers'
  • Experiences Migrating CI/CD solutions with GitHub Copilot
  • You need to wait longer when restarting Logic Apps
  • Why cannot I see my Logic App action output?
  • Parsing CSV files in Azure Logic Apps
  • I know I am late to the game with Home Assistant....
  • What are my options authenticating the az devops CLI?

Tags

UNCATEGORISED 2090 TECH TIPS 96 VSTS 64 SHAREPOINT 50 WINDOWS AZURE 44 DEVOPS 40 POWERSHELL 22 AZURE 20 VISUAL STUDIO 20 DEPLOYMENT 15 EVENTS 15 SQL 15 ACS 11 GITHUB 11
All Tags
.NET FOR METRO STYLE APPS6 .NET FRAMEWORK5 ACCESS SERVICES2 ACS11 ACTIVE DIRECTORY7 ADFS4 ADSIEDIT1 AGILE3 AI2 AJAX1 ALM1 ANDROID1 APPFABRIC6 APPLICATION-INSIGHTS2 ASP.NET9 AZURE20 AZURE AD3 AZURE RESOURCE MANAGER3 AZURE STACK1 AZURE WEBSITES4 BACKUP2 BEST PRACTICE4 BIZTALK7 BIZTALK PIPELINE DISASSEMBLE1 BLETCHLEY PARK1 BLOGGING1 BOOK1 BOOKS2 BOTFRAMEWORK1 BOTS2 BPA1 BUSINESS PROCESS AUTOMATION1 CERTIFICATES2 CFP1 CHATBOTS1 CHRISTMAS1 CLOUD1 CLOUD OPERATING MODEL1 CLUSTER3 CODE BREAKING1 CODE QUALITY1 COLLABORATION1 COM1 CONFERENCE6 CONFIGURATION MANAGER6 CONTENT QUERY WEB PART1 CONTENT TYPE HUB1 CONTENT TYPES4 CRITICAL THINKING2 CRM4 CSOM1 DATA PROTECTION MANAGER5 DATA SCIENCE4 DDD10 DEBUGGING1 DEPLOYMENT15 DESIRED STATE CONFIGURATION2 DEVOPS40 DEVTEST LABS3 DIGITAL SIGNATURES1 DISCOVERY1 DPM5 DSC3 ENERGY SAVING1 ENIGMA1 EVENTS15 EXCHANGE2 FACEBOOK MESSENGER1 FEATURES1 FIREWALL1 FLOW1 GADGETEER4 GENERAL INTEREST1 GIT2 GITHUB11 GRAPHIC DESIGN3 GROUP POLICY3 HADOOP1 HARDWARE8 HIGH AVAILABILITY2 HORTONWORKS1 HYPER-V6 HYPER-V R26 HYPER-V SERVER1 IIS3 IMAGINE CUP1 INFOPATH5 INTEGRATION2 KERBEROS2 LINQ1 LIVE LABS1 LIVE MESSENGER1 LOGGING3 LOGIC APPS3 LOGICAPPS1 MALWARE1 MANAGED METADATA SERVICE1 MANAGEMENT4 METRO6 MICROSOFT AZURE4 MICROSOFT EVENTS3 MICROSOFT TEAMS2 MIGRATION5 MOSS3 MVP3 MYSITE1 MYSITE NEWSFEED1 NETWORK LOAD BALANCING2 NGROK1 NODE1 NODEJS1 OPEN XML1 OPINION10 OPTION1 OSLO1 PASSWORD RESET1 PERFORMANCEPOINT2 PERMISSIONS7 PESTER1 POLICING1 POWER AUTOMATE1 POWERSHELL22 PRISM6 PROBABILITY1 REGISTRY4 RELEASE MANAGEMENT9 REMOTE MANAGEMENT7 REPORTING1 REPORTING SERVICES2 SCCM1 SCOM 20071 SCRUM1 SCVMM1 SCVMM 20083 SEARCH1 SECURITY4 SERVICE APPLICATIONS2 SERVICE BUS11 SHAREPOINT50 SIGNALR3 SILVERLIGHT1 SOFTWARE DELIVERY1 SONARQUBE6 SPC 20094 SPN2 SQL15 SQL AZURE6 SQL SERVER7 STATISTICS1 SURFACE PRO 31 SYSTEM CENTER7 SYSTEM CENTER OPERATIONS MANAGER2 TEAM FOUNDATION SERVER3 TEAMS2 TECH ED EMEA 2008 IT2 TECH TIPS96 TECHTIPS9 TESTING3 TFS5 THREAT MANAGEMENT GATEWAY1 TLS1 TMG2 TNMOC1 TYPEMOCK1 UI3 UK IT CAMPS1 UNCATEGORISED2090 UPGRADE9 USER PROFILE SERVICE APPLICATION1 VBUG1 VIRTUAL MACHINES8 VISUAL STUDIO20 VSO1 VSTO2 VSTS64 WCF DATA SERVICE1 WCF DATA SERVICES1 WEB API4 WEB APPLICATION PROXY3 WEB PARTS2 WEB PLATFORM INSTALLER1 WHITE PAPER3 WHITE PAPERS1 WINDOWS 108 WINDOWS 10 15111 WINDOWS 10 19031 WINDOWS 72 WINDOWS 86 WINDOWS 8.12 WINDOWS ADMIN CENTER1 WINDOWS AZURE44 WINDOWS AZURE APPFABRIC8 WINDOWS AZURE WEBSITES4 WINDOWS HOME SERVER4 WINDOWS PHONE1 WINDOWS PHONE 71 WINDOWS SERVER2 WINDOWS SERVER 20037 WINDOWS SERVER 20087 WINDOWS SERVER 2008 CORE1 WINDOWS SERVER 2008 R29 WINDOWS SERVER 2008 R2 CORE1 WINDOWS SERVER 20125 WINDOWS SERVER 2012 R25 WINDOWS SERVER CORE1 WINDOWS TIME SERVICE1 WINOWS SERVER 20161 WINRT7 WORKFLOW MANAGER1 WORLD WAR 21 WSUS4 X646 ZOMBIES1
[A~Z][0~9]
Black Marble

Copyright  BLACK MARBLE. All Rights Reserved

to-top