Browse by Tags

Related Posts
  • Forum Thread: New version of the Azure AD PowerShell module is incompatible with PowerShell 2.0

    We are not able to load the newest version of the Azure Active Directory Module for Windows PowerShell (64-bit version) in an application that targets .NET Framework 3.5 SP1. The previous version of the module available until September worked well, but now we get the following error message: Could...
  • Forum Reply: RE: Need Help About Licensing issue ( URGENT )

    Hi Orkhan, The previous PowerShell cmdlets are used with the Quest Active Roles snap-in and is used with Active Directory. Below I've pasted two links: the first has more information about the snap-in and the second could be used to download the ActiveRoles Management Shell for Active Directory....
  • Forum Thread: Trying to Export total licenses via delegated admin powershell

    I'm currently trying to export a full list of customer licenses through power shell and it works fine if I do it one by one like so: Get-msolaccountsku -TenantId 'tenantidstring' If I try to do this via a script, instead of it giving me the list of licenses for all customers, it prints...
  • Forum Reply: RE: Need Help About Licensing issue ( URGENT )

    Hi Orkhan, I am glad that the script works! To find users with empty attributes, you can try to use the following PowerShell commands: 1. Get-QADUser| where {$_.mail -eq $null} 2. Get-QADUser| where {$_.mail -eq $null}|export-csv c:\upload\dump\EmptyMailAttribute.csv The first one is to find and display...
  • Forum Reply: RE: How to use PowerShell in Microsoft Office 365 Small

    Hi RinkuPandy, What exactly do you need to do in PowerShell? If I know that, I could provide you with a more specific answer to your question. To connect with Office 365 via PowerShell, the following link might be of great help: technet.microsoft.com/.../dn568015.aspx Be sure to run PowerShell as administrator...
  • Forum Reply: RE: Need Help About Licensing issue ( URGENT )

    Hi Orkhan, The other day I found a PowerShell script that may point you in the right direction: # Define Hashtables for lookup $Sku = @{ "DESKLESSPACK" = "Office 365 (Plan K1)" "DESKLESSWOFFPACK" = "Office 365 (Plan K2)" "LITEPACK" = "Office...
  • Forum Thread: Set-MsolDomain capabilities (or lack thereof)

    Trying to create a bunch of domains via powershell, of which works with New-MsolDomain. However new domains create with no "Capabiltiies". I cannot fathom how to update this field even though powershell hints that Set-MsolDomain can do this, there is no actual parameter to do so. I cannot find...
  • Forum Thread: Need a Report of All Users and their Assigned Licenses

    Hello! I recall a long time about I found a Microsoft article that gave me step by step instructions on how to output a report with all of our users and what O365 license they are assigned but cannot find it again. I googled and found a bunch out there and even found an O365 forum post however, some...
  • Forum Reply: RE: Calendar sharing via Powershell

    Hi Dan, Based on your current situation, if you want to run this PowerShell cmdlet for multiple email addresses at one time, it may involve some PowerShell scripts to achieve it. Since we are not the masters for PowerShell scripts and we can just provide limited assistance on it, I recommend you...
  • Forum Thread: Calendar sharing via Powershell

    I use the following cmd to grant office 365 calendar right with Powershell: Add-MailboxFolderPermission <mailbox>:\Calendar –User <Mailbox-that-will-have-access> –AccessRights <Editor,Owner,PublishingEditor,PublishingAuthor,Author,NonEditingAuthor,Reviewer,Contributor>...
  • Forum Reply: RE: Mail forwarding issue

    Hi Tasos, To remove ForwardingAddress, please run the following PowerShell cmdlets and check if the issue persists: Set-Mailbox -Identity user@domain.com -DeliverToMailboxAndForward $false -ForwardingAddress $null If you have tried the cmdlet before, please feel free to let me know. Thanks, Kid...
  • Forum Thread: New Version of the Azure Active Directory Module and PowerShell 2.0

    Since the last upgrade of the Azure Active Directory Module for Windows PowerShell (64-bit version) , we are no longer able to load it in an application targeting .NET Framework 3.5 SP1. The error message that we receive is: Could not load file or assembly 'file:///C:\Windows\system32\WindowsPowerShell...
  • Forum Thread: powershell cmdlet modification for getting the desired output

    is there a way to modify the cmdlet so that I can list 1 output at a time and then press some key to get next and so on... example: get-mailbox lists all the mailboxes but if I would like to see one at a time. Can I modify the cmldet so that when I run the cmdlet it list the 1st mailbox and then when...
  • Forum Reply: RE: Powershell script error (create MSOL User and adding to SPOUser Group)

    Hi Gary, Which PowerShell are you using? As far as I know, you should use different PowerShell to do the two tasks separately: creating Office 365 users and adding an existing Office 365 user to a SharePoint group. 1. Use Windows Azure Active Directory Module for Windows PowserShel l to create Office...
  • Forum Reply: RE: Remove secondary email address in bulk

    Hi AnkurAjmani, Michael's sharing is great. At present, if you need remove the secondary addresses in bulk, it may involve some PowerShell scripts to achieve it. Since we are not the masters for PowerShell scripts and we can just provide limited assistance on it, I recommend you try to post this...
  • Forum Reply: RE: How trace the user who have never login after 30 days?

    Hi Frank, Thanks for your update. I noticed it seems that you connect to Windows PowerShell before configure Windows PowerShell. Generally, we need to configure Windows PowerShell before connecting to it when we first run the PowerShell. Here are the steps: 1. Click Start > All Programs > Accessories...
  • Forum Reply: RE: determine what group a contact belongs to

    Hi Larry, This cannot be checked using Exchange Online User Interface at present. Based on our experience, this kind of goal may be achieved by using Windows PowerShell scripts. However, as Office 365 Online Services technical support, we’re not professional regarding PowerShell scripts. Could...
  • Forum Thread: Change Exchange Alias

    Hi, Is it possible to change the alias of a mail contact on Exchange Online via PowerShell? Perhaps by importing a CSV file? Thanks Simon
  • Forum Thread: Provision OneDrive without logging into portal using Powershell [Bulk]

    Hi All, By default, as soon as a user is assigned Exchange license, mailbox is provisioned for them. But they get to use OneDrive only after they go there from the top ribbon. OneDrive is provisioned only when they go to OneDrive for the first time. Is there any powershell command we can use to automatically...
  • Forum Reply: RE: Assign a license to users in a csv minus exchange

    Hi Duncan, I would like to confirm whether you are using Office 365 for A3 plan, since you mentioned the SKU name is ENTERPRISEPACK_FACULTY . If so, please try to change the ‘ EXCHANGE_S_STANDARD ’ to the ‘ EXCHANGE_S_ENTERPRISE ’, because the ‘ EXCHANGE_S_STANDARD ’...
  • Forum Reply: RE: in-place eDiscovery & hold

    Answering my own thread; still having trouble though. I ran Get-Mailbox using PowerShell and the Discovery Mailbox no longer has a primarySMTPAddress. I am not sure whether I will ever find out where it went; I am just now trying to get it back! I have tried the answer on this page: technet.microsoft...
  • Forum Reply: RE: Manager password expiry notifications

    To the Office365 Admin community How are you managing this issue, not being able to see the password expiry date, users on Apple devices not getting a message prompt to change passwords?
  • Forum Thread: Manager password expiry notifications

    Hello All What am I missing, there was a command get-msonlineuser which allowed an admin to check the PasswordLastSetDate,PasswordExpirationDate . I cannot find any command in Office365 that will show me the same values. I have a large number of users on Apple devices that do not get password expiry...
  • Forum Reply: RE: Manager password expiry notifications

    Hi Andrew, After searching, there is did no PowerShell command to check the PasswordExpirationDate in Office 365. At present, if a user's password is about to expire, the only reminder is from the alerts in Message Center. I am sorry for the inconvenience this is causing. Since you have large...
  • Forum Reply: RE: Default Office 365 Password Policy | PowerShell erroring

    Hi Ryan, Given the situation, if you now can use Connect-MsolService to get connection with Office 365, then you have already installed the Azure AD Module for Windows PowerShell in your PC. So, you actually need to use Azure AD Module to run Connect-MsolService and Get-MsolPasswordPolicy instead of...