Hello guys,
I'm struggling to get my iPowershell Pro to connect to the Office 365 Powershell web , is this even possible
I can connect via my Windows machine with the following commands
Click Start > All Programs > Accessories > Windows PowerShell > Windows PowerShell.
Run the following command:
$LiveCred = Get-Credential
In the Windows PowerShell Credential Request window that opens, type the credentials of an account in your cloud-based organisation. When you have finished, click OK.
Run the following command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Note The AllowRedirection parameter enables cloud-based organisations in datacentres all over the world to connect Windows PowerShell to the cloud-based service by using the same URL.
Run the following command:
Import-PSSession $Session
A progress indicator appears that shows the importing of commands used in the cloud-based service into the client-side session of your local computer. When this process is complete, you can run these commands.
But how do I connect with iPowershell pro
How do I connect to the Office 365 Web based Power Shell
- TypeDaniel
- Posts: 2
- Last visit: Mon Aug 05, 2013 3:08 pm
- TypeDaniel
- Posts: 2
- Last visit: Mon Aug 05, 2013 3:08 pm
- Ferdinand Rios
- Posts: 373
- Last visit: Fri Sep 16, 2022 1:24 pm
Re: How do I connect to the Office 365 Web based Power Shell
Are you trying to connect via a PSWA (PowerShell Web Access) session? or Instead of a PSWA session? iPowerShell Pro currently ONLY connects to remote machines that are running PSWA. I have no idea if PSWA allows for the type of connection to Office 365 that you are describing. Have you tried connecting to a PSWA server from a desktop computer and then trying to connect to Office 365 through that session? All we really do is present the PSWA console inside a web browser instance, just as if you were connecting from a desktop web browser.
F.G. Rios