If you receive this error message: Import-PSSession : Files cannot be loaded because the running of scripts is disabled on this system. Type (or paste) this line into the PowerShell window and logon using the administrator's username and password. Your Knights Email account will be your UCF email. Once installed, right click on the Microsoft Online Services Module for Windows PowerShell shortcut on the desktop and choose Run as Administrator. Knights Email is hosted by Microsoft and includes a suite of Office 365 collaboration applications.
Login to microsoft 365 install#
See Steps 2 and 3 on the PC or Mac tabs above to help you with the rest of the install process. Select the language and bit-version you want (PC users can choose between 32-bit and 64-bit), and then click Install.
Login to microsoft 365 software#
If they are not already installed, links to the files are here. To install Office, try signing in directly to the Microsoft 365 Software page instead. In some cases the Online Services Assistant and the Online Services Module for Windows PowerShell files need to be used. Remove-PSSession $Session Using Microsoft Online Services Module for Windows PowerShell When you are finished, you should end the session before closing the PowerShell window, otherwise your credentials are "live" for 15 minutes after the window is closed. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic -AllowRedirection If you don't see the UH logo with 'Microsoft 365' as it appears in the example when you're prompted to enter your password, please contact University IT Support for assistance with your account. Once the PowerShell module is installed use these commands to log in, then run your commands.Ĭonnect-ExchangeOnline -UserPrincipalName MethodĮnter the administrator's username and password. In the example provided, you can see that Joe Cougar's account is recognized as affiliated with the University of Houston. Install-Module -Name ExchangeOnlineManagement Use the tabs below to select your subscription type and learn more about sign-in limits for your subscription. Your subscription has a sign-in limit that determines how many Office installs you can sign in to at the same time. Install-Module -Name PowerShellGet -Force If you subscribe to Microsoft 365, you'll be prompted to sign in to use Office after installation, or after you sign out. If this is the first time you are connecting to Exchange online using PowerShell, paste the following lines into PowerShell, one line at a time and press Y (or A) when prompted to enter Yes or No.