Giter Club home page Giter Club logo

Comments (4)

ThatM365Guy avatar ThatM365Guy commented on July 22, 2024 2

I had this issue and realised that I had to run this using version 7 of PowerShell, and not version 5. Worked once I switched.

from msidentitytools.

rjm-nu avatar rjm-nu commented on July 22, 2024 2

As noted above by @ThatM365Guy, the ForEach-Object -AsJob -ThrottleLimit $ThrottleLimit -Parallel construct used in the GetDelegatePermissions function requires PowerShell version 7. Is this the only portion of Export-MsIdAppConsentGrantReport that requires version 7? If so, it would be great if there could be a PS 5.1 compatible version (realizing it could severely impact performance).

from msidentitytools.

weyCC81 avatar weyCC81 commented on July 22, 2024 1

I have the same issue, the warning is shown when the module is loaded, I believe:

$PSVersionTable

Name Value
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Get-Module MSIdentityTools -ListAvailable

Script 2.0.52 MSIdentityTools

Get-Module Microsoft.Graph -ListAvailable

Manifest 2.1.0 Microsoft.Graph

Get-Module ImportExcel -ListAvailable

Script 7.8.6 ImportExcel

Export-MsIdAppConsentGrantReport -ReportOutputType PowerShellObjects

ForEach-Object : Parameter set cannot be resolved using the specified named parameters.
The property 'State' cannot be found on this object. Verify that the property exists.

Export-MsIdAppConsentGrantReport -ReportOutputType ExcelWorkbook -ExcelWorkbookPath [Path]

WARNING: It is recommended to use this module with the latest version of PowerShell which can be downloaded here: https://aka.ms/install-powershell
ForEach-Object : Parameter set cannot be resolved using the specified named parameters.
The property 'State' cannot be found on this object. Verify that the property exists.

from msidentitytools.

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.