Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tools4everbv/helloid-task-sa-source-azureactivedirectory-groupgetdetails
AzureActive Directory - Group get details
https://github.com/tools4everbv/helloid-task-sa-source-azureactivedirectory-groupgetdetails
azure-active-directory data-source powershell service-automation
Last synced: about 1 month ago
JSON representation
AzureActive Directory - Group get details
- Host: GitHub
- URL: https://github.com/tools4everbv/helloid-task-sa-source-azureactivedirectory-groupgetdetails
- Owner: Tools4everBV
- Created: 2024-02-12T08:18:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-12T08:30:27.000Z (10 months ago)
- Last Synced: 2024-02-12T11:42:10.095Z (10 months ago)
- Topics: azure-active-directory, data-source, powershell, service-automation
- Language: PowerShell
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HelloID-Task-SA-Source-AzureActiveDirectory-GroupGetDetails
## Prerequisites
- [ ] This script uses the Microsoft Graph API and requires an App Registration with App permissions:
- [ ] Read all group memberships GroupMember.Read.All## Description
This code snippet executes the following tasks:
1. Define `$groupId` based on the `selectedGroup` data source input `$datasource.selectedGroup.Id`
2. Creates a token to connect to the Graph API.
3. List group's details using in Azure AD using the API call: [Get group](https://learn.microsoft.com/en-us/graph/api/group-get?view=graph-rest-1.0&tabs=http)
4. Return a hash table for each user account using the `Write-Output` cmdlet.> To view an example of the data source output, please refer to the JSON code pasted below and select the `Interpreted as JSON` option in HelloID
```json
{
"Id": "7d53a91f-dd9d-41b3-94fb-143bd2fc6854"
}
```