microsoft / microsoft/PowerApps-Samples

`Microsoft.PowerPlatform.Administration.UserManagement` - how to use Multi-Factor authentication?

Open
#538 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PowerShell
Dominant language
C#
Stars
2k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

How to use multi-factor authentication using the Microsoft.PowerPlatform.Administration.UserManagement powershell scripts? Many organizations mandate the use of Multi-Factor auth, especially for priviliged roles (such as what this script requires)

The documentation for the Connect-AzureAD module states that MFA can't be used with the Connect-AzureAD method been used in the script

PS C:\> Connect-AzureAD -Credential $Credential
The first command gets the user credentials, and then stores them in the $Credential variable.

The second command connects the current PowerShell session using the credentials in $Credential.

This account authenticates with Azure Active Directory using organizational ID credentials. You cannot use multi-factor authentication or Microsoft account credentials to run Azure Active Directory cmdlets with this account.```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the scripts under powershell/UserManagement/Microsoft.PowerPlatform.Administration.UserManagement and the referenced Connect-AzureAD documentation first. Determine whether the sample supports MFA and document the supported authentication path or limitation, with completion marked by clear usage guidance for organizations requiring MFA.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
authentication, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.