Giter VIP home page Giter VIP logo

Comments (13)

kennyb7322 avatar kennyb7322 commented on August 29, 2024

Here is what I executed using 7.3.5 version of powershell
image

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

Hi there!
Thank you for checking out our tool!
Please verify that you are able to connect to, and approve permissions for, Microsoft Graph PowerShell.
In your screenshot, your connection to Microsoft Graph failed (the line immediately before the error message about Select-MgProfile
image

When properly connected, you should see a message that you are connected via Graph to your tenant before connecting to the next module.
image

from 365inspect.

kennyb7322 avatar kennyb7322 commented on August 29, 2024

I agree on the connectivity to Graph when running it direct connect-graph & connect-mggraph It works without failure.

image

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

Could you try running the tool again?
In our testing, and the screenshot above, we ran it in PS version 7.3.5 and had no issues connecting.

from 365inspect.

kennyb7322 avatar kennyb7322 commented on August 29, 2024

Yes, I ran it several times and still received the same error. The service principal I am using is fully capable and has all the access. Not sure why it bombs out on the Microsoft Graph on the new version but the old version works fine.

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

Hi @kennyb7322
The authentication methods used in this tool are designed for an authenticated user, and currently does not support using a Service Principal or Application authentication context.

from 365inspect.

kennyb7322 avatar kennyb7322 commented on August 29, 2024

I could get it to work by using an older version of PowerShell, the beta version; I was getting the same results. I don't know if some authentication caused it not to execute properly. I am going to try it on different instances and report back.
image

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

What version of Microsoft.Graph PowerShell Module do you have installed?
This works currently, using user credentials, with version 1.19.0 and lower.

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

We can replicate this in version 2.0.0 of Microsoft Graph and are working on a resolution.

from 365inspect.

kennyb7322 avatar kennyb7322 commented on August 29, 2024

So it works on Powershell 1.9.6 Microsoft.Graph and lower you are correct it does not work in 2.0.0. and it does not work also on the release candidates.

from 365inspect.

kennyb7322 avatar kennyb7322 commented on August 29, 2024

So it works on my VM that I have running 1.9.6 that I configured with the older Graph versions, but when I try to push anything over 2.0.0 and RC, it does not work. My other question is it not necessarily an issue at all, but can I submit inspectors that would be helpful that I have created?

from 365inspect.

kennyb7322 avatar kennyb7322 commented on August 29, 2024

So it works on my VM but when I try to push it up to github I get an error. Any help will be greatly appreciated! Thanks.Manifest 1.9.6 Microsoft.Graph

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

Version 2.0.0 no longer supports the Select-MgProfile command.
In Microsoft's release notes for version 2.0.0 - https://github.com/microsoftgraph/msgraph-sdk-powershell/releases
image

We are working on a resolution to accommodate this change, in the meantime, you will need version 1.19.0 or lower to run the tool.

from 365inspect.

Related Issues (20)

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.