Skip to content

Moving to the Graph has caused much wailing and gnashing of teef

Notifications You must be signed in to change notification settings

MelloSec/Graphomet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Graphomet

Collection of Graph scripts, tools, notes, etc.

Intune

Assign-ManagedApps.ps1 - Select and Assign Intune Apps to Groups

Use an app registration to with required permissions to Include/Exclude and deploy Available/Required Intune apps by Group

 .\Assign-ManagedApps.ps1 -GroupPrefix "All Users" -Intent "Available" -iOs
 .\Assign-ManagedApps.ps1 -GroupPrefix "Intune-" -Intent "Required" -iOs
 .\Assign-ManagedApps.ps1 -GroupPrefix "Intune-" -Intent "Required" -Windows

IntuneManagement for export/import and OIB deployments

git clone https://github.com/Micke-K/IntuneManagement
cd .\IntuneManagement

$tenant = Read-Host -Prompt "Enter Tenant ID" -AsSecureString
$appId = Read-Host -Prompt "Enter App ID" -AsSecureString
$secret = Read-Host -Prompt "Enter Secret" -AsSecureString

$tenantPlainText = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($tenant))
$appIdPlainText = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($appId))
$secretPlainText = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($secret))

# Start the script with plain text credentials
.\Start-IntuneManagement.ps1 -Tenant $tenantPlainText -AppId $appIdPlainText -Secret $secretPlainText

About

Moving to the Graph has caused much wailing and gnashing of teef

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published