microsoft / hack-together

Hack Together: Microsoft Graph and .NET is a hackathon for .NET developers to learn Microsoft Graph and Microsoft 365.
MIT License
523 stars 85 forks source link

Project: CSPLicenseInquiry #43

Closed cscaminaci closed 1 year ago

cscaminaci commented 1 year ago

Project name

CSPLicenseInquiry

Description

License inquiry and report script for HaloPSA using Microsoft Graph for Hack Together 2023.

This tool runs as an Azure Runbook and is triggered via webhook from HaloPSA. The script uses a multitenant app registration to look up current user license assignments and attempts to find zombie accounts or accounts that are licensed but deactivated or deleted. This helps to scavenge available licenses during the onboarding process. The report is returned to HaloPSA as an HTML fragment embedded in a private note.

Repo URL

https://github.com/cscaminaci/CSPLicenseInquiry

Team members

cscaminaci

waldekmastykarz commented 1 year ago

Thank you for the submission. It seems though that the script is a PowerShell script that uses Microsoft Graph PowerShell SDK rather than .NET. This hackathon is all about using Microsoft Graph with .NET.

cscaminaci commented 1 year ago

Someone asked you guys about Powershell on the stream yesterday and you said to submit Powershell stuff also. How is Powershell not related to .NET when it's leveraging the same .NET libraries with only slightly different syntax?

waldekmastykarz commented 1 year ago

The question we got was about using the Microsoft Graph .NET SDK in a PowerShell script, rather than just calling Microsoft Graph from a PowerShell script.

waldekmastykarz commented 1 year ago

Hey @cscaminaci, just wanted to check if you're planning to convert your hack to use the Microsoft Graph .NET SDK and make chance for some of the cool prizes we've got.

waldekmastykarz commented 1 year ago

Unfortunately, we can't accept your hack to be eligible for prizes because it's not using the Microsoft Graph .NET SDK. Thank you for your submission.