The ‘Raw Markdown file’? I published my first module in the PowerShell Gallery Repository. I made areadme file on Github and saw that you could link a markdown file in the PowerShell Gallery via edit package, unfortunately I encountered this error: Conversion of Markdown to HTML failed with ‘The Documentation URL must be a raw … Continue reading FIX: The Documentation URL must be a raw Markdown file hosted on GitHub
Tag: PowerShell
FIX: The operation couldn’t be performed because ” matches multiple entries. Exchange
Use the DistinguishedName! I bet an awful lot of Exchange admins have encountered this error in PowerShell: The operation couldn’t be performed because ” matches multiple entries. I got the error using the Get-MailboxRestoreRequest cmdlet, but it doesn’t matter which cmdlet you were using for the solution. The problem often is a guestuser or a … Continue reading FIX: The operation couldn’t be performed because ” matches multiple entries. Exchange
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
How to 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 How to get AzureAD Users LastLogin for stale accounts PowerShell
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
How to start with the Microsoft Graph API in PowerShell
Use PowerShell for Microsoft Graph In this tutorial I am going to explain how you can make a Microsoft Graph API report yourself with PowerShell. The steps include creating an AzureAD App registration in the Azure Portal. Use the table of contents to skip parts. Where do we start? We will use the Office 365 … Continue reading How to start with the Microsoft Graph API in PowerShell
FIX: Windows Defender can’t remove a folder from Protected folders
Windows Defender… If you have read my previous post you can see that I ran into this too. For me the button Remove was grayed out when I wanted to remove a folder from protected folders in Windows Defender. Fortunately, there are several ways to remove a folder from protected folders. One of them is … Continue reading FIX: Windows Defender can’t remove a folder from Protected folders
How to convert a CSV with one column in to more columns PowerShell
You should know a bit about PowerShell for this blog post. For another blog post I needed a list of countries and local dial-in numbers for Microsoft Teams PSTN. When copying and pasting the table in Excel, it was all in one column, and this triggered me to see if I could fix this with … Continue reading How to convert a CSV with one column in to more columns PowerShell
FIX: The request was discarded by a third-party extension DLL file
RDS with Azure MFA as extra security layer. Yesterday I had a wonderful problem again! It was about Remote Desktop Service again, but this time at one of our customers. We use an RDS environment with Azure Multi Factor Authentication as an extra security layer. When logging in, we were asked to enter our credentials … Continue reading FIX: The request was discarded by a third-party extension DLL file
FIX: Creating a new session for implicit remoting of “Cmdlet” command
“Enter your password credentials” is a lie.. Do you dislike it as much as me that after some time you get the error message that you have to re-enter your credentials? “Creating a new session for implicit remoting or ‘Cmdlet ’command” It says: “Enter your password credentials“, but that’s just a lie. Then enter your … Continue reading FIX: Creating a new session for implicit remoting of “Cmdlet” command