Forum Discussion
FcoManigrasso
Jan 04, 2024Iron Contributor
Get Delve skills with MgGraph PowerShell
Today I was asked to get a report for the Users skills published in Delve. It took a while to figure out how to do it, but finally it's really easy with MgGraph.
See the commands below:
- First we need to install the Beta People Module
Install-Module Microsoft.Graph.Beta.People
- Then import the module
Import-Module Microsoft.Graph.Beta.People
- The connection should use the scope User.Read.All
Connect-MgGraph -Scopes User.Read.All
- Then you can use the following command to get the required information
Get-MgBetaUserProfileSkill -UserId <user email address>
The output isn´t as clean as desired:
So, after a pipe FL I found what I really need, the Skill Display Name:
Get-MgBetaUserProfileSkill -UserId <user email address> | fl displayname
An this is the output:
Here you can find more information about this Beta commands and also much more possibilities of getting users information. Very useful:
List skills - Microsoft Graph beta | Microsoft Learn
No RepliesBe the first to reply