How do I connect to the Office 365 Web based Power Shell

Support forums for users of iPowerShell. This forum does not offer a response time guarantee.
User avatar
TypeDaniel
Posts: 2
Joined: Sat Aug 03, 2013 12:26 pm

How do I connect to the Office 365 Web based Power Shell

Post by TypeDaniel » Sat Aug 03, 2013 12:49 pm

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

User avatar
TypeDaniel
Posts: 2
Joined: Sat Aug 03, 2013 12:26 pm

Re: How do I connect to the Office 365 Web based Power Shell

Post by TypeDaniel » Sun Aug 04, 2013 3:45 pm

Anyone?

User avatar
Ferdinand Rios
Posts: 373
Joined: Tue Nov 14, 2006 2:56 am

Re: How do I connect to the Office 365 Web based Power Shell

Post by Ferdinand Rios » Mon Aug 05, 2013 8:24 am

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