If you wan to take a look at my video recording instead of reading the you can find it here:
The Cloud is a neighborhood
Microsoft Azure and other cloud related things
About Me
- Olav Tvedt
- Bergen, Norway
- 19th times Microsoft MVP (Security and Windows). IT-Dude @SpareBankenNorge
Wednesday, July 22, 2026
Fix Windows Sandbox network issues by setting a custom DNS server
If you wan to take a look at my video recording instead of reading the you can find it here:
Monday, March 20, 2023
Removing all "Unknown" object from permission/access list in Azure (IAM)
You can find them by browsing around the entire portal manually or you can find them by using a script to document all access like my script explained in "Documenting Azure resources access (AIM)"
To ease the cleanup process I created a script based on my findings from this blog. I basically extended it to go through all my subscriptions and document what it does during the process
So it will go through all subscriptions (with some exceptions). Documents all findings in a CSV file, remove the unknowns and then documents what has been removed in a text file at the end. I Was not able to test the text file part, since I already had cleaned up everything when I figured out that documentation of what actually got removed was something that should be included.
You will find the script in my GitHub repo here:
Scripts-For-Sharing/iam-removeunknown.ps1 at master · OTvedt/Scripts-For-Sharing (github.com)
Wednesday, August 24, 2022
Documenting Azure resources access (AIM)
- Documentation
- Cleaning out permission given to individuals instead of groups
- Safe screening (groups/individuals that should not have access)
- Deleted identities still visible in the AIM list
- Preparing for features like Privileged identity management (PIM)
- Comparing changes in access since the last audit
- Etc
Friday, November 26, 2021
Change owner for App registration and Enterprise Apps in Azure
I got a long list of Azure AD App Registration/Enterprise Apps that needed to get a new owner. This is a quite common task since the original owner might have quit or changed role.
So knowing that this is a task that might appear every now and then I wrote two short and quick PowerShell script to fix this. One for App registration and one for Enterprise Apps, you can, of course, combine them and add lots of error checks and so on but I like KISS
Saturday, September 26, 2020
PowerShell script to get some AzureAD logins stats
The information you get in the Azure portal about logins are decent, but some time you need some statistic or insight fast and don't want to use the graphic interface or down load csv/json files.
I have created som script and favourite lines and uploaded it to my Github repo
Monday, July 20, 2020
Unused Azure AD Connect accounts "On-Premises Directory Synchronization Service Account"
Thursday, July 9, 2020
Requesting access with Azure AD Privileged Identity Management from PowerShell
You can add approval as a necessary add-on security feature, use MFA or other adjustments. Read more about PIM here.
BUT! it can also feel like a pain in the... if you use it a lot. So I created a small and simple PowerShell script to request the access for me.
Fix Windows Sandbox network issues by setting a custom DNS server
Windows Sandbox is one of the easiest ways to test files, scripts, applications, and troubleshooting steps in a clean, temporary Windows env...
-
Working with mobile device management (MDM) require a lot of testing. With Windows 10 testing is no problem (except those things that demand...
-
I found myself in the situation that I needed to get the Windows key out from the ACPI in the UEFI bios and preferable get to use it in a ta...
-
Felt a bit stupid today (again). Have been struggling with some Microsoft Surface Go devices. Love the device but, when they are shipped wit...


