Saturday, November 26, 2022

Starter project for Bicep IAC

Following is the starter project I use when building a Infrastructure As a Code (IAC) solution.

It has the following scaffolding























You can clone it from this repository

Thursday, November 3, 2022

NBQSA Sri Lanka - LB Finance Core Finance System awarded Gold award in the in-house category

LB Finance Core Finance System was awarded the Gold, by National Best Quality Software Awards (NBQSA) 2022.

This is the second consecutive award received for LBF Core Finance System called Eclipse.




























The platform uses state of the art Microsoft and related tooling to bring the excellence.


Wednesday, November 2, 2022

Presentation - Future of Collaboration with Microsoft 365

Recently I did a presentation on Future of Collaboration with Microsoft 365. Collaboration is a key part of Future of Work

Sunday, October 23, 2022

Resolve error - The Azure Synapse resource provider (Microsoft.Synapse) needs to be registered with the selected subscription

Following are the steps to enable Synapse resource provider

1. Navigate to your subscription









2. Navigate to Resource Providers












3. Search for Synapse and click on Register










That's all you have to do. This works for other service registrations as well

Tuesday, October 18, 2022

Package appsetings for Azure Function App using Visual Studio

In this short article I'll show how to embed appsettings for remote Azure Function app

You can have various application settings in your local.settings.json file








So how can you ensure these settings are available in your remote Function App as well (may be with different values)

Click on publish








In your publish profile, provide necessary credentials and desired Function App. Then go to the Hosting section.

Click on Manage Azure App Service Settings






You can specify remote app settings there












That's all you need to do. Remote settings will be available in Azure Function App








Saturday, September 24, 2022

Presentation - Application Development with Microsoft Azure

Recently I was invited to conduct a technical session for CINEC Campus. Glad to see a large enthusiastic crowd.
































During this session I demonstrated following workloads
  • Azure App Service
  • Azure Function App
  • Azure Logic App
  • Azure SQL
  • Azure Key Vault
  • Azure IOT Hub
  • Azure Face API

Sunday, September 4, 2022

Structure for Azure Policy as a Code using Bicep

Following is the structure for code to write Azure Policy as a Code. You can specify policy initiatives, definitions and assignments as you wish



//Parameters
//Variables

//Policy initiative
resource PolicyInitiative 'Microsoft.Authorization/policySetDefinitions@2020-09-01' = {
  properties: {
    policyType: 'Custom'
    displayName: initiativeName
    description: 'Custom Policy Initiative'
    metadata: {
      category: policyCategory
      source: policySource
      version: '0.1.0'
    }
    parameters: {
      //Your custom parameters
    }
    policyDefinitions: [    
      //Selected policy definitions based on existing Microsoft policy definitions  
    ]
  }
}

//Policy assignment
resource PolicyAssignment 'Microsoft.Authorization/policyAssignments@2020-09-01' = {
  name: assignmentName
  properties: {
    displayName: assignmentName
    description: 'Custom Policy Assignment'
    enforcementMode: assignmentEnforcementMode
    metadata: {
      source: policySource
      version: '0.1.0'
    }
    policyDefinitionId: PolicyInitiative.id
    parameters: {
      //Your parameters
    }
  }
}