Microsoft: Difference between revisions

From The Brain Rot MediaWiki
Jump to navigation Jump to search
No edit summary
 
Line 2: Line 2:


== Microsoft Entra ==
== Microsoft Entra ==
Install PowerShell Azure Connect <syntaxhighlight lang="powershell" line="1">
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module Az -Scope AllUsers
Get-InstalledModule -Name Az -AllVersions -OutVariable AzVersions
Uninstall-Module -Name Az -AllVersions
Import-Module -Name Az -DisableNameChecking -Verbose
Connect-AzAccount
</syntaxhighlight>Install PowerShell Microsoft.Graph (entra)<syntaxhighlight lang="powershell" line="1">
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module Microsoft.Graph -Scope AllUsers
Get-InstalledModule -Name Microsoft.Graph -AllVersions -OutVariable AzVersions
Uninstall-Module -Name Microsoft.Graph -AllVersions
$maximumfunctioncount = '32768'
Import-Module -Name Microsoft.Graph
Connect-MgGraph
</syntaxhighlight>
== Microsoft Edge ==
== Microsoft Edge ==

Latest revision as of 06:44, 11 January 2025

Microsoft Entra

Install PowerShell Azure Connect

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module Az -Scope AllUsers
Get-InstalledModule -Name Az -AllVersions -OutVariable AzVersions
	Uninstall-Module -Name Az -AllVersions
Import-Module -Name Az -DisableNameChecking -Verbose
Connect-AzAccount

Install PowerShell Microsoft.Graph (entra)

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module Microsoft.Graph -Scope AllUsers
Get-InstalledModule -Name Microsoft.Graph -AllVersions -OutVariable AzVersions
	Uninstall-Module -Name Microsoft.Graph -AllVersions
$maximumfunctioncount = '32768'
Import-Module -Name Microsoft.Graph
Connect-MgGraph


Microsoft Edge