Advanced Search
Search Results
210 total results found
Restructure JSON (object) into hashtable
This script is needed if you get an object by any source (e.g., json) and you have to give every member of the object as a value (keypair) into a hash table. $bodyjson = @" { "logtype": "testlogs2", "logbody": { "computername":"Device-1234...
Centralize log collection with a custom REST API
All environments of a larger IT team write several thousand logs and status messages every day. These logs are usually only stored on the respective systems and cannot be centrally administered or managed. Alarms or monitoring on a log basis in a centralised s...
Cron
Quick commands
Change owner of folder sudo chown -R <linuxuser>:<linuxgroup> <pathtofolder> Manage Linux groups Create group groupadd <groupname> Add user to group usermod -a -G <linuxgroupname> <linuxusername> List groups sudo groups -la Managing tar files Preview...
Installation & Setup
Send mail via Exchange Online
Requirements: Authentication header is needed to use this script and API. Basic API information This API can either be used to send a mail out of the mailbox of a user (application permission needed): POST https://graph.microsoft.com/v1.0/users/<userprincip...
GIT
Create application access token & authorization header
To authentication against the Microsoft Graph API there are two general concepts. Application permissions allow an application in Microsoft Entra ID to act as it's own entity, rather than on behalf of a specific user. Delegated permissions allow an application...
Mongo CLI
KQL quick commands
Count entries in table <loganalyticstablename> | summarize count() Get log storage usage Usage | where IsBillable | summarize DataGB = sum(Quantity / 1000)
WinGet
Restrict App Registration application permission to certain mailboxes
Requirements: Active Exchange Administrator Role and App Registration with application permissions granted. Application Access Polices Generally Application Permissions allow an Azure App Registration to access a certain type of data within the whole tenant....
Create Runbook Job via Webhook and Azure Management API
To create a Runbook Job you can use the Azure Management API in combination with the webhook feature from Azure Runbooks. This makes sure that you can execute a script with given parameters in a safe location (credential handling, reliability, on premise acces...
Experiences with Multi Admin Approval
Multi Admin Approval is a feature in Intune, that require a second administrative account to approve a change before the change is applied. With Multi Admin Approval (MAA), you configure access policies that protect specific configurations, like Apps or Scrip...
Communication
Create user access token & authorization header
To authentication against the Microsoft Graph API there are two general concepts. Application permissions allow an application in Microsoft Entra ID to act as it's own entity, rather than on behalf of a specific user. Delegated permissions allow an application...
Semester 1
Things to consider & limitations
These things have to be considered when building automations or applications which use the Microsoft Graph API. Graph API limitations This list documents the limitations of the Microsoft Graph API. The full limitations of the Microsoft Graph API can be seen...