![](/uploads/1/2/6/4/126401385/333137514.jpg)
Also, if Windows Installer itself is hanging, Office won't be able to get past the 90% mark. How you can proceed depends on whether you've already cancelled the Office install, in this case you'll need to try installing Office again; or Office is still trying to install, you'll need to end the Windows Update. Select from below. Deployment options for admins for Office for Mac. There are two basic ways that you, as an admin, can deploy Office for Mac to users in your organization: If you have an Office 365 plan, you can provide your users with instructions on how to download and install Office for Mac for themselves.
![Office 365 For Mac Hangs On Running Package Scripts Office 365 For Mac Hangs On Running Package Scripts](http://www.itninja.com/uploads/images/106411/r1vTur.jpeg)
As a Apple Fan boy, I'm happy that PowerShell Core is now available for macOS! Together with Visual Studio Code I'm able to run a lot of things on my Mac without having a virtual Windows machine running.I was asked: ' Do you use the native macOS PowerShell to connect to Office 365'.The short answer is: ' Not really'!And at the moment (December 2017) there are two main reasons for that:. The connection is not fast and connection is not reliable! (See below). Many Office 365 services, like Skype for Business or Sharepoint, need a PowerShell local module and they are not available for non-Windows platforms yet!I tested all the v6 beta releases and the basic Exchange Online connection worked in some, sometimes better, sometimes not. Even with the latest PowerShell Core v6 RC2 the connection isn't always working or it is very slow during the connection or the import.
Connecting to the Compliance Center seems to work like the Exchange Online connection: In general it seems to work With exactly the same issues.I tested everything on my Mac's and on two CentOS based linux systems. And I found that is is good enough to do something quickly (e.g. Change a Mailbox setting) but not good enough to use it as main Admin Shell or for Development (testing stuff).
At least not yet!Is is my environment. # If the connection hangsPS /Users/josh $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $O365Credential -Authentication Basic -AllowRedirection -EnableNetworkAccess -Verbose^CEven after 5 minutes, nothing happend! Solution: crtl + c and try again. Most of the time, I had to open a new PowerShell Session, what could be annoying!
Because you have to start from scratchThe Import-PSSession throws an error! # The import does NOT work all the timePS /Users/josh Import-PSSession -Session $EXSession -AllowClobberImport-PSSession: Running the Get-FormatData command in a remote session reported the following error: Processing data from remote server outlook.office365.com failed with the following error message: ERRORWSMANINVALIDSELECTORS: The WS-Management service cannot process the request because the request contained invalid selectors for the resource. For more information, see the aboutRemoteTroubleshooting Help topic.At line:1 char:1+ + CategoryInfo: InvalidResult: (:) Import-PSSession, RuntimeException+ FullyQualifiedErrorId: ErrorFromRemoteCommand,Microsoft.PowerShell.Commands.ImportPSSessionCommandStarting a new Shell often solved the problem for me!The Performance is bad! It takes up to 2 (two) minutes until the connection is up and the import of the new session is done.
And I found not solution for that.I was told to use ' ' instead of ' '. That doesn't really helped me.In my latest experiments i tried ' -EnableNetworkAccess' at the ' New-PSSession', but this also doesn't solved my issues.So, the long answer to the questing ' is it working' will be: Sometimes is seems to work, often not.Would I recommend it right now? Definitely not yet! Whenever possible use a Windows Based system to connect to Office 365 right now!PowerShell Remote is my favourite solution! Of this is not possible, I use a virtual Windows 10 based system with PowerShell 5. This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorised as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website.
We also use third-party cookies that help us analyse and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
![](/uploads/1/2/6/4/126401385/333137514.jpg)