Closed MarcLaf closed 1 year ago
I can confirm that the command is recognized when I manually run it from a PowerShell prompt.
BUMP on this
Fixed by re-installing the module and changing the TLS version
Hi @HackerHanna2000 thanks for sharing. @MarcLaf could you try the solution mentioned above to see if it solves your issue?
Best
Nicklas
@NicklasAhlberg I do not understand the solution that @HackerHanna2000 posted. Re-install what module and change the TLS version from what to what where?
Ensure you are running Powershell 5
Run the below commands
**Net.ServicePointManager::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Open: PowerShell as an administrator Run: Install-Module -Name IntuneWin32App -Confirm:$false -Force:$true
Ensure you are running Powershell 5
This was it. My default PS is PowerShell 7 and I only use PS5 when .net is needed. I installed the IntuneWin32App in my Windows PowerShell profile and RMP now works. @NicklasAhlberg can you add into the pre-reqs that you need to install this module in Windows PowerShell 5 and not the new PowerShell 7 (used to be called Core I think).
I also don't know why I had it working before and now suddenly didn't, don't recall removing that module from the PS5 profile. Ah well, solved now! I can get back to testing. Hopefully the previous issues I was having are resolved.
v1.0.0.9
When Connect to tennant is selected from the settings menu, the following message appears in the Log.
Connecting to tenant, please wait.. The term 'Connect-MSIntuneGraph' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.