test
test again
test again
Creating automated sign-ins for your scripts or in an Azure Function can be done by creating an App Registration. You will establish trust between your app and Microsoft Identity Plattform and gain the possibility to sign-in without a user account. What I did this time was to give the application itself permissions to Microsoft Graph… Read More Register an application with Microsoft Graph
One of the things that takes a lot of time for me in my daily work, is to activate privileged identity roles for each tenant/situation. Opening a new tab, signing in and then finding PIM, activating your role. One tenant might not be that bad, but when you have several and are switching between production… Read More Activate your PIM role with PowerShell
Companies often have issue with their DNS records for their email. These values are important for email authentication. This is how the mail server knows that your mail is genuine. Most companies have a proper SPF record added but are unfamiliar with DKIM and DMARC and the values they provide. SPF = Sender Policy Framework… Read More E-Mail Authentication
As a sysadmin we have all been in the situation where you’ve been handed a list of names where you are asked “please add these users to group this or that”. Next time you get a list with email addresses. It might be in a .csv or a .xlsx or .txt. The format might vary… Read More Getting samaccountname from list of names
My history with PowerShell started with creation of new users in Active Directory. Not only is it time consuming to create users manually, but it also tends to create new support tasks because of a typo. Synchronization errors because “there’s an error” when synchronizing AD with AzureAD. My first script was plain and simple and… Read More Generating UPN
You can easily generate randomized passwords with PowerShell that meets the organizations security requirements and reuse the function through out your user management scripts. First you want to create a function that gets random characters.The script accepts two parameters, length and characters. Lenght specifies the number of characters to return and characters is the set… Read More Generate new password in PowerShell
I’m from northern Sweden and work remotely as System Administrator. I started my IT career with small and midsized business support and administration. in 2018 I got the opportunity to be part of a team that manages Enterprise customers. This lead to lots of opportunities to develop my own skills in PowerShell and Microsoft 365… Read More A first post