Git Product home page Git Product logo

Comments (6)

nsoy avatar nsoy commented on May 17, 2024

looking..

from intune-powershell-sdk.

nsoy avatar nsoy commented on May 17, 2024

See if the netstandard2.0 version works for you. I have created a separate redistributable for dot net core.
https://github.com/Microsoft/Intune-PowerShell-SDK/releases/tag/Preview3-netstandard2.0

from intune-powershell-sdk.

adrianwells avatar adrianwells commented on May 17, 2024

@nsoy Thanks for the reply, however, seeing the same result so far with the same error message:

Intune-PowerShell-SDK\6.1902.00745.0001-release-97194499-netstandard2.0\drop\outputs\build\Release\netstandard2.0\Microsoft.Intune.PowerShellGraphSDK.dll' or one of its dependencies. Operation is not
supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module ./Microsoft.Graph.Intune.psd1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
    + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand

Unblocked the Microsoft.Intune.PowerShellGraphSDK.dll file as directed in the readme.md. Other suggestions?

from intune-powershell-sdk.

adrianwells avatar adrianwells commented on May 17, 2024

@nsoy - trying again with a privileged account, it appears the netstandard2.0 version is now loading:

Intune-PowerShell-SDK\6.1902.00745.0001-release-97194499-netstandard2.0\drop\outputs\build\Release\netstandard2.0> get-module -name Microsoft.Graph.Intune

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Binary     6.1902.0.1 Microsoft.Graph.Intune              {Connect-MSGraph, Get-AADGroup, Get-AADGroupCreatedOnBehalfOf, Get-AADGroupCreatedOnBehalfOfReference...}

Maybe worth adding a few notes in the Readme or elsewhere about this requirement? Or add a check for whether the PowerShell session has proper rights?

from intune-powershell-sdk.

adrianwells avatar adrianwells commented on May 17, 2024

@nsoy, FYI - the prior comment is for the GitHub prelease version. The most recent version (1902) from PowerShell gallery looks to be working well and does not appear to require privileged access.

from intune-powershell-sdk.

nsoy avatar nsoy commented on May 17, 2024

I have pushed the module to powershell gallery - try install-module and report issues loading assemblies if any. Thanks!

from intune-powershell-sdk.

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.