ThomasKur / IntuneDocumentation

Automatic Intune Documentation to simplify the life of admins and consultants.
GNU General Public License v3.0
339 stars 87 forks source link

osx support #32

Closed mrboogiee closed 4 years ago

mrboogiee commented 4 years ago

Is OSX currently supported? When following the instructions I run into the following issues:


Line |
  39 |      $LogFilePathFolder     = Join-Path -Path $Env:TEMP -ChildPath $Sc …
     |                                               ~~~~~~~~~
     | Cannot bind argument to parameter 'Path' because it is null.

Connect-MSGraph: /Users/<user>/.local/share/powershell/Modules/IntuneDocumentation/2.0.15/Functions/Invoke-IntuneDocumentation.ps1:64
Line |
  64 |      Connect-MSGraph
     |      ~~~~~~~~~~~~~~~
     | Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

InvalidOperation: /Users/<user>/.local/share/powershell/Modules/IntuneDocumentation/2.0.15/Internal/Get-MobileAppsBeta.ps1:18
Line |
  18 |          $errorResponse = $ex.Response.GetResponseStream()
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.```
ThomasKur commented 4 years ago

No, sorry because the Intune PS Module is not supported on OSX. I will check if I should change this in a future release and use direct MS Graph calls...