quarta-feira, fevereiro 23, 2022

Tip: Microsoft 365 Dev Program

Microsoft has a program that you can get a free Microsoft 365 license for Dev purposes.

Include on this program:

  • Includes 25 user licenses for development purposes
  • Preconfigured for sideloading Teams apps
  • Fully loaded sample data with 16 sample users, user data, and content to help you model your solutions.
  • Easy access to pre-provisioned core Microsoft 365 workloads and capabilities (Windows not included), including:
    • All Office 365 apps
    • Everything you need for Power Platform development
    • Office 365 Advanced Threat Protection
    • Advanced analytics with Power BI
    • Enterprise Mobility + Security (EMS) for compliance and information protection
    • Azure Active Directory for building advanced identity and access management solutions

Microsoft Docs:

https://docs.microsoft.com/en-us/office/developer-program/microsoft-365-developer-program

Dev Program:

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

As long as you are using it for development the licenses do not expire.

quinta-feira, fevereiro 17, 2022

Sideloading disabled - Microsoft Teams

 I got this message when I created an App for Microsoft Teams using Teams Toolkit:

 

The process to enable Sideloading is simple, just go to the Teams admin center and enable the "Upload custom apps", I did for the entire Org, but my Tenant is just for the test it is not production, for production you can create custom policy and apply just for the users that you want.

After I closed the VS and open again: Sideloading enabled.

sábado, janeiro 29, 2022

Docker CLI and Azure ACI

I know, there are several good articles about how we can use docker CLI to deploy our workload to Azure ACI. I like to write short articles, it helps me understand the technology.

You can find a good documentation regarding ACI here.

I will deploy a Multi Container application using a docker compose command. Let's do it!

First, Login on Azure using

$docker login azure

Tip: You can use --tenant-id to connect to a specific Azure tenant.

Create a docker context, on my example the name is acideployblog, you need to select the subscription, resource group.

$docker context create aci acideployblog

 

You will get:

Successfully created aci context "acideployblog"

 You can list the docker context with the command

$docker context list

To set the default context

$docker context use acideployblog

To show the current context

$docker context show

Important, you must log in to your Azure Container Registry

$az acr login --name mycontainerregistry

One the directory that I have my docker compose file I run:

$docker compose --file docker-compose.staging.yml --project-name myproject-server-staging u

If you don't put a --project-name the name of your container will be derived from the working directory.

If everything goes right your container group will be create:

 

You can check the container execution list with the command

$docker ps