How to output the Signins report to CSV file with the Graph Client
In program.cs, you must fill in the client_id, tenant_id, client_secret and your output_path on the local machine. Your application registration must have the necessary application permissions to retrieve the report. Please refer to this document for more information about the permissions: https://docs.microsoft.com/en-us/graph/api/signin-list?view=graph-rest-1.0&tabs=http