Skip to main content

Recently Updated Pages

Upload files & folders via Graph API

Microsoft SharePoint

Requirements: You need to work through the "Preparations" part of this manual: Download & read fi...

Updated 4 weeks ago by Luca Noah Caprez

Create user access token & authorization header

Microsoft Graph API

To authentication against the Microsoft Graph API there are two general concepts. Application per...

Updated 4 weeks ago by Luca Noah Caprez

Increase diskstorage for Linux VMs

Bash

To increase the storage drive you first have to increase the storagecapacity in the proxmox admin...

Updated 4 weeks ago by Luca Noah Caprez

PowerShell Quick Commands

XenDesktop

Every command from this collection needs to be run on one of the Delivery Controllers. Turn off ...

Updated 4 weeks ago by Luca Noah Caprez

Import enrollment devices via Graph API

Microsoft Intune

Prerequisites: Graph API authorization header and the serial number & hardware identifier from th...

Updated 4 weeks ago by Luca Noah Caprez

Regularly clean up MEID guest user with automation

Microsoft Entra ID

Requirements: Create an App Registration with AuditLog.Read.All and User.ReadWrite.All. For loggi...

Updated 4 weeks ago by Luca Noah Caprez

Export Intune device script content via Graph API

Microsoft Intune

Prerequisites: Graph API access token and the script id from Intune device script. Since the con...

Updated 4 weeks ago by Luca Noah Caprez

Experiences with Multi Admin Approval

Microsoft Intune

Multi Admin Approval is a feature in Intune, that require a second administrative account to appr...

Updated 4 weeks ago by Luca Noah Caprez

Create application access token & authorization header

Microsoft Graph API

To authentication against the Microsoft Graph API there are two general concepts. Application per...

Updated 4 weeks ago by Luca Noah Caprez

Find API route, method & body in Microsoft web portals

Microsoft Graph API

Use Graph X-Ray AddOn Graph X-Ray – Microsoft Edge Addons With this add on for Microsoft Edge o...

Updated 4 weeks ago by Luca Noah Caprez

Create Runbook Job via Webhook and Azure Management API

Azure Automation Accounts

To create a Runbook Job you can use the Azure Management API in combination with the webhook feat...

Updated 4 weeks ago by Luca Noah Caprez

Restrict App Registration application permission to certain mailboxes

Microsoft Exchange

Requirements: Active Exchange Administrator Role and App Registration with application permission...

Updated 4 weeks ago by Luca Noah Caprez

Send mail via Exchange Online

Microsoft Graph API

Requirements: Authentication header is needed to use this script and API. Basic API information ...

Updated 4 weeks ago by Luca Noah Caprez

Quick commands

Bash

Change owner of folder sudo chown -R <linuxuser>:<linuxgroup> <pathtofolder> Manage Linux group...

Updated 4 weeks ago by Luca Noah Caprez

Centralize log collection with a custom REST API

Azure Functions

All environments of a larger IT team write several thousand logs and status messages every day. T...

Updated 4 weeks ago by Luca Noah Caprez

Query Azure Firewall Logs

Azure Log Analytics

Azure Firewall Logs can be stored in an Azure Log Analytics Workspace. This workspace then contai...

Updated 4 weeks ago by Luca Noah Caprez

How to Function

Azure Functions

This is a short guide for creating an Azure Function. This is a high-level concept in order to be...

Updated 4 weeks ago by Luca Noah Caprez

Lookup external tenant id

Microsoft Graph API

Requirements: Authorization header and CrossTenantInformation.ReadBasic.All permission on App Reg...

Updated 4 weeks ago by Luca Noah Caprez

Check if script runs as admin

PowerShell

Check session for admin privileges If you have to run your commands in your custom script as adm...

Updated 4 weeks ago by Luca Noah Caprez

Write custom logs via PowerShell

Azure Log Analytics

With Log Analytics you can write custom logs. For this the API can be used to write new logs to t...

Updated 4 weeks ago by Luca Noah Caprez