FIX: Import module failed New-AzureStorageContext is not recognized Az

Importing of module failed. –> Azure Automation. I was working on a function that would automatically update outdated modules in Azure Automation. I used my own Microsoft Graph module as a test. During the automatic upload I got a message that Automation was importing the module, but after a while the status was set to … Continue reading FIX: Import module failed New-AzureStorageContext is not recognized Az

Get AzureAD Users LastLogin for stale accounts PowerShell

Which property comes closest to the LastLogin property? LastLogin is an attribute known from Active Directory, but this property is not present in AzureAD. Property RefreshTokensValidFromDateTime is closest to the LastLogin property. This property determines how long the token is valid for the last Login and when the local token must renew. Unfortunately this is … Continue reading Get AzureAD Users LastLogin for stale accounts PowerShell

FIX: Windows could not start the Network Policy Server Service on Local Computer

This tutorial should work for other services as well. Before we begin, you may have stumbled upon this tutorial while having a problem with another service. The tutorial may also work for another service. Ultimately, it’s about the permissions rather than the service itself. Googling on ‘Windows could not start the Service on Local Computer‘ … Continue reading FIX: Windows could not start the Network Policy Server Service on Local Computer

FIX: Starting Discord mutes all sound Windows 10

Discord mutes my sound when joining a channel. I have a Beats Studio 3 that I regret by the way, but hey.I recently started playing World of Warcraft again and wanted to join a Discord channel with some friends, only my sound got muted when I joined a channel. When I left the channel my … Continue reading FIX: Starting Discord mutes all sound Windows 10

How to get AzureAD Group Members nested groups in PowerShell

Why would we put groups in groups? Groups in groups is used by enterprise companies that have main groups for, for example, Group based Licensing in AzureAD. And there are many more examples to mention.The disadvantage of groups in groups is that at a certain point you no longer know whether someone is in the … Continue reading How to get AzureAD Group Members nested groups in PowerShell