Background

Welcome to another week of learning!

This week we focus on WinGet, Azure Logic Apps, Microsoft Graph, and some Intune tricks.

This is the second post in this series, and we continue down the same format as before.

I hope there is something that you can take away from this week!

How to Enable the New Microsoft Teams Client

There is a new Microsoft Teams client available in public preview!

It’s said to use half the resources of the current client and it has a bunch of other cool features.

It is easy to allow your users to switch to the new client!

Just go to https://admin.teams.microsoft.com and to Teams Update Policies and create a new one.

Make sure that you configure the setting called Use new Teams client to Users can choose.

The user can enable the new client from within Teams when the policy is applied.

Enjoy! I will, for sure! 😀

The new Microsoft Teams desktop client – Microsoft Teams | Microsoft Learn

New Microsoft Teams – Microsoft Adoption

How to Import A Logic App to Another tenant

In the existing Logic App, go to Automation > Export template and download your Logic App.

This downloads a .zip file with the files required to import the Logic App in another tenant or as a backup.

In the Azure Portal, search for custom template and select the service called Deploy a custom template.

Before you Load your template file, it is a good idea to modify the template.json and update the Name of the app and other properties that you might want to change. There could be connections to linked subscriptions, for example.

Select the relevant subscription, resource group, and region, and Create your Logic App!

That should be everything you have to do.

In some cases, there might be references to resources that don’t exist anymore or that you don’t have access to.

In those cases, you must modify the template or the imported solution to ensure it works properly.

An example could be Storage Accounts that are used in Create Blob actions.

Export flows from Power Automate to Azure Logic Apps – Azure Logic Apps | Microsoft Learn

When using Service Principals and such in Azure, you probably want to delegate some permissions.

When testing, you can do this from the Graph Explorer to the account you are using, and that is pretty nice.

But, what if you are using a Managed Identity of a Logic App? How can you view the available Graph permissions and what they do?

Microsoft Graph Explorer can help us here as well! Graph Explorer | Try Microsoft Graph APIs – Microsoft Graph

When in the Explorer, click on your Avatar and then Consent to permissions.

In this list that opens, you search for what it is you are looking for and you will see the current status.

In my example, I’m searching for Graph Permissions to manage Intune RBAC roles.

With this information, you can go to the Azure Portal and grant the permissions to your Service Principal.

How to enroll devices and approve drivers using WufB

The new Windows Update for Business Deployment Service is available, and you can read more about how to enroll devices here!

If you are not versed in Microsoft Graph, it is currently quite tricky to work with this.

However, some nice people in the community have built tools for this to make your journey a bit smoother.

Deploy a driver update using the Windows Update for Business deployment service – Microsoft Graph | Microsoft Learn

How to create a WIM file

I recently learned that you could create your own WIM file from any folder!

This means that if you need to inject files into a Windows installation or make them available, you can just put everything in a folder and use DISM to create a new WIM file.

It is quite straightforward and is done with a oneliner.

Dism /Capture-Image /ImageFile:c:\data\myData.wim /CaptureDir:C:\data\dataFiles /Name:MyData

Create a Data Image Using DISM | Microsoft Learn

Summary

This week we learned new things concerning WinGet, Graph API, and Logic Apps!

  • How to Enable the new Microsoft Teams client for a group of users.
  • How to import a Logic App as a template into another tenant.
  • How to browse available Graph permissions and grant them to service principals.
  • How to enroll devices in Windows Update for Business Driver service.
  • How to create your own WIM files for customizing Windows installations.

Resources

https://admin.teams.microsoft.com

The new Microsoft Teams desktop client – Microsoft Teams | Microsoft Learn

New Microsoft Teams – Microsoft Adoption

Export flows from Power Automate to Azure Logic Apps – Azure Logic Apps | Microsoft Learn

Graph Explorer | Try Microsoft Graph APIs – Microsoft Graph

Deploy a driver update using the Windows Update for Business deployment service – Microsoft Graph | Microsoft Learn

Create a Data Image Using DISM | Microsoft Learn

Leave a Reply