Giter VIP home page Giter VIP logo

microsoftgraphsecurity's Introduction

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Microsoft Graph Security PowerShell Module [ Unofficial]

Welcome to the Unofficial Microsoft Graph Security PowerShell module!

This module is a collection of easy-to-use cmdlets and functions designed to make it easy to interface with the Microsoft Graph Security API.

Why is it unofficial, you ask? Even though this module was designed by Microsoft employees, it is NOT a formal part of the Graph Security API product and you will not be able to get support through standard Microsoft channels. That said, if you have problems or questions, please open an issue here on this Github repo. The authors will be more than happy to help.

Prerequisites

To get value from this module you must...

...have PowerShell v5+ (comes standard on Windows 10)

...have configured authorization for access by registering an application. See Authorization and the Microsoft Graph Security API

App Registration Settings

Register an application with Azure AD with the following

  • Authentication
    • Select the Suggested Redirect URI to be urn:ietf:wg:oauth:2.0:oob
    • Select Implicit grant issued by the authorization endpoint Access Tokens
  • API Permissions
    • Add Microsoft Graph Delegated Permissions SecurityEvents.Read.All and/or SecurityEvents.ReadWrite.All

Getting Started

To get started with the module, open your PowerShell terminal as an administrator and install the module from the PSGallery by running this simple command:

Install-Module MicrosoftGraphSecurity

If this is your first time installing a module, you will get prompted to install the Nuget Package Provider. Nuget is the Package/Module manager used by the PSGallery repository.

Contributing

Apologies, we are not currently opening up this project for contribution outside of our existing team. This may change in the future if there is enough interest.

Authors

See also the list of contributors who participated in this project.

License

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

microsoftgraphsecurity's People

Contributors

ani6gup avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microsoftgraphsecurity's Issues

I have a issue when connect in MS Graph using PowerShell and try to export data do CSV file (System.Object[])

I used powershell to try to export data from MS Secure Scores to a CSV file. I can connect at MS Graph using Powershell and see the data correct, but when I try to export this data to a CSV files there are so many fields with (System.Object[]) instead the correct data.

Command I used: Get-GraphSecuritySecureScore | Export-Csv -NoTypeInformation .\Securityscores.csv

Anyone can help here?

Reply URL for MS Graph App

Hello,

When I performed the App Registration in AzureAD I initially only used http://localhost:8080 as the reply URL, this resulted in the following error.

The reply address is missing, misconfigured, or does not match reply addresses configured for the application. Try out the resolution listed at https://docs.microsoft.com/azure/active-directory/application-sign-in-problem-federated-sso-gallery#the-reply-address-does-not-match-the-reply-addresses-configured-for-the-application. If you still see issues, contact the application owner or app admin.

Once I added urn:ietf:wg:oauth:2.0:oob I could authenticate and pull data in PowerShell as expected.

Regards
Alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.