RSS Amplifier

Blogs on opium.io · May 22, 2020

MS365, PowerShell and… MFA…

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Before we start: I hate PowerShell’s lack of consistency for error handling so I did not bother to handle all error since this is only a code snippet. I wanted to check how one can set and force MFA authentication right from the start. While there is no real practical use for this, it was a good exercice. Nota: All names where generated using Fake Name Generator so don’t bother sending…

Before we start: I hate PowerShell’s lack of consistency for error handling so I did not bother to handle all error since this is only a code snippet.

I wanted to check how one can set and force MFA authentication right from the start. While there is no real practical use for this, it was a good exercice.

Nota: All names where generated using Fake Name Generator so don’t bother sending me GDPR notices. As lawyers say: This is a work of fiction. Names, characters, business, events and incidents are the products of the author’s imagination. Any resemblance to actual persons, living or dead, or actual events is purely coincidental.

Read on opium.io

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.