Category Developer Technologies

Setup a Microsoft 365 Developer subscription with E5 License – 90 days Rolling

The following steps show how to Add the E5 Subscriptions in your 365 Developer Subscription. Follow steps to register for the developer subscription 1st

After the “Welcome to the Microsoft 365 Developer Program.”

Click Set up E5 Subscription

Follow the setup steps below:

Join the Developer 365 Program – Includes E5 License – 90 days Rolling

Microsoft have a developer subscription option Microsoft 365 Developer Program FAQ | Microsoft Docs

“subscription is good for 90 days and is renewable based on valid developer activity. If you’re using your subscription for development, it will be renewed every 3 months and will last indefinitely.”

Set up a Microsoft 365 developer subscription | Microsoft Docs

Join the Microsoft 365 Developer Program | Microsoft Docs

Steps to setup – “Join the Microsoft 365 Developer Program today!”

Click : https://developer.microsoft.com/en-us/microsoft-365/dev-program

Joining the program and Create a new account (I Created a new email just for this developer work)

We then get presented with a Dashboard – Microsoft developer center and technical documentation

Time to Explore > click Microsoft 365 > Learn more > Join Now

Clicked “Join Now” and got a missing info prompt.

Join the Developer Program

Select an options

Now you are Setup. Continue to steps for adding E5 license

Azure – Auto Shutdown “Save” Greyed Out

I recently tried to enable auto shutdown on a virtual machine. I wanted to receive a notification before auto-shutdown. But the option was greyed out.

It would appear if send notification is set to yes, then the Save option is greyed out. Set Notification to No and you can save the settings > Set the time and Save.

Is it a feature or a bug, this was my work around.. After you have enabled and set a time. Now edit again and set notifications, add and email address and Save is available.

Azure – Register An Application in AD and Generate App Password

How to guide, in Azure register an application in AD and generate app password

In the Azure portal, browse to Azure Active Directory > App Registrations

New Registration

Enter Application details and account types

Next Click > Certificates & Secrets > New client secret

Enter description and Expirey > Click Add

Make sure to copy the value. You can then sign in as the application with the App ID and value.

Azure – Content Trust in ACR and Roles

Security and Authentication method – Content Trust

You need a container registry to start with


Content trust in Azure Container Registry

“Azure Container Registry implements Docker’s content trust model, enabling pushing and pulling of signed images.”
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-content-trust

Signing Role

ACRImageSigner     ( role is used for signing permissions)

AcrPush     ( role is used for ACR push)

For a list if built in roles and descriptions see here

Container registry roles see here


Azure CLI command to assign the ACRImageSigner role

az role assignment create –scope <registry ID> –role AcrImageSigner –assignee <user name>

ACR Tasks

Automate Container Image builds and ACR tasks info. An example use, for automating the build cycle. How “By executing az login with a service principal, your CI/CD solution could then issue az acr build commands to kick off image builds.”

Manage Resource Groups CLI

Azure CLI manage resource groups available here

What is On-Premises, IaaS, PaaS, SaaS and IaC?

  • Infrastructure as a Service (IaaS)
  • Platform as a Service (PaaS)
  • Software as a Service (SaaS)
  • On-Premise
  • Infrastructure as Code (IaC)

Examples I’ve used

What are the differences?

Infrastructure as Code

So what is IaC, Infrastructure as Code? Standardise Infrastructure, Automate deployment and recreate, well-documented code. Exampled formats such as JSON & ARM templates.

DevOps teams will use IaC to recreate production like environments in dev cycles. Validate and Test deployments, prior to a production deployment. The end result being able to deliver a stable and repeatable environment.

Azure Resource Manager

The alternative to just running scripts. Manage your infrastructure resources in a group by templates. In addition, you apply security (RBAC) and tags, then associate costs to the group.