Browse by Tags

Related Posts
  • Forum Thread: How do I export list of users WITH creation dates?

    Hello Folks, Im looking to export a list of my o365 users, but in that list i would like to include the date in which the user was "created". I cannot seem to find where that parameter might exist. I see that you can export a list via PowerShell....however the parameters ive found do not...
  • Forum Reply: RE: I am trying to log into the powershell cmd environment but getting errors

    Hi The problem is: Import-PSSession $O365Session Connect-MsolService <= not valid parameter –Credential Try this: Import-module msonline $UserCredential = Get-Credential -Credential " cloudaccout@name.onmicrosoft.com " Write-Output = "Getting Exchange Online cmdlets"...
  • Forum Reply: RE: Deleting specicific users with in a department using powershell script

    Hi customer, To achieve it, please do the following steps: 1. Install the Azure AD Module 2. Connect to Azure AD $msolcred = get-credential connect-msolservice -credential $msolcred 3. Run the command below: Get-MsolUser –Department IT |Remove-MsolUser –Force (Note: IT is a department...
  • Forum Reply: RE: Change user license

    Hi techadmin2, In order to do it you will first need to see what your Account SKU IDs are by running the following command: Get-MsolAccountSku This will give you a list of your available SKUs in the following format: mydomain:SKU (Example: contoso:ENTERPRISEPACK; contoso:STANDARDPACK) If you want...
  • Forum Reply: RE: Disable sharing of sites in office 365 using CSOM

    Hi maruthigadde, Yes, you can use PowerShell to disable the sharing. Here are the commends: set-sposite - identity xxx.sharepoint.com/.../test -sharingcapability disabled For more reference, you can refer to the article here: SharePoint Online Administration with PowerShell Thanks, Andy Sek
  • Forum Thread: How to apply LCID to a site collection other than "1033" using CSOM PowerShell?

    We are able to set 1033 as LCID for a site while it's creation through powershell. We need to apply English(Australia) as a default Locale for every site we provisioned. Whenever we are trying to do it, it throws the following exception: "Locale ID is not a supported Locale". Is there...
  • Forum Reply: RE: Get-MSOLUser by domain name error

    Hi customer, Based on my test, it worked fine. Moreover, this issue has been fixed in the new version of Windows Azure module. So I’d like to confirm your PowerShell version. If it is not the latest version, you can uninstall it and install the latest one after downloading from the link below...
  • Forum Thread: Get-MSOLUser by domain name error

    So, I know this will be rare, since not many tenants are this size or set up this way. We have a tenant with 50,000+ users, with 6 domains within. I go to perform a query: get-msoluser -domainname "<domain1>" -all This gives me valid results, then hits 500, then errors out: get...
  • Forum Reply: RE: Cant add Office365 ProPlus for Students

    Hi Boledy, After doing some research, I find that the error may appear when an admin tries to assign a license to a user who already has a license. I also reproduce the scenario. For details, please see: https://technet.microsoft.com/en-us/library/dn771770.aspx Given this situation, I suggest...
  • Forum Reply: RE: Possible to change the default new-user settings?

    Hi Jon, Sorry that we cannot change the default Audit settings for users. At this time, we need to manually enable this feature by running PowerShell command lines, like you mentioned above. For this feature, I invite you to submit feedback to get your voice heard by our relevant team. Your precious...
  • Forum Reply: RE: Is it possible to track user's logins where and when?

    Hi HanySayed, It is unfeasible to get the detailed logon history of users in Office 365. Currently, we can only get the last logon time of the mailbox via the cmdlet Get-MailboxStatistics < UserMailbox > | Select DisplayName,LastLogonTime in Exchange Online PowerShell . If you have any concerns...
  • Forum Thread: Export list of users including passwords - powershell

    Hi, Is it possible to export a list of current 365 users with their passwords and export to a CSV? I have exported a list of usernames to CSV before but was wondering if it's possible to do so including passwords on the CSV File. Does anyone know the command you would run? Thanks
  • Forum Thread: Disable OWA, allow viewing only through outlook locally

    We tried disabling OWA via powershell, and it shows in the users mailbox options in EAC as owa disabled, but they are still able to go to the office365 website and sign into outlook. We only want users to be able to access their cloud-based mailbox from their local computer outlook. We don't want...
  • Forum Thread: Get-messagetrace poweshell

    Hi, is there anyway i can get a -resultsize unlimited on this command? Curently running a script, that gives all results over last 2 hours, but it only returns a 1000
  • Forum Reply: RE: Mailbox export

    Hi Bijal, Do you mean you want to export Office 365 mailboxes into .pst files? If yes, sorry we cannot do it directly in Office 365 GUI and PowerShell. For now, to do this, we can use Outlook Client. 1. Set up your Office 365 account on Outlook Client. Please refer to " Set up an Exchange connection...
  • Forum Reply: RE: Powershell Script to compare domain of proxy address

    Hi Ahmed, In order to better understand your requirements, please clarify whether the following scenario is correct or not. Verified domains in Office 365: abc.com, efg.com The proxy address of on-premises AD user: User1: user1@abc.com, user1@efg.com, user1@xyz.com User2: user2@abc.com, user2@efg.com...
  • Forum Thread: How do i add 1 license to an already licensed user through powershell?

    I have 136 users that originally had enterprise e3 pack assigned to them except the lync and azure rights management I would like to go back and implement azure rights management but still keep lync off. I tried it like this but was getting $AccountSkuId = "XXXXXXX:ENTERPRISEPACK" $NewSku...
  • Forum Reply: RE: get-mailbox doesn't work what am i doing wrong. I connected to connect-msolservice ok!all

    Hi armandos, By default, the cmdlet get-mailbox is not a vaild cmdlet if you connect to connect-msolservice. If you want to run this cmdlet, you need connect to Exchange Online PowerShell. Here is an article about Connect to Exchange Online using remote PowerShell for your reference: http://technet...
  • Forum Thread: Sharepoint workflow.

    Dear All, I want to activate sharepoint 2013 workflow in particular site sollection. Which feature should I activate? Is there any need of PowerShell to activate features related to sharepoint 2013 workflow. Please help me. It is urgent. Kind regards, Supriyo Manna
  • Forum Thread: Get-MessageTrace only returning last 7 days

    HI, I'm trying to make a (csv) export of the mail logs for all users over the past 30 days using a Get-MessageTrace script: https://gallery.technet.microsoft.com/office/Export-Mail-logs-to-CSV-d5b6c2d6 The script runs fine, even after adapting it to return the last 30 days, however, only the...
  • Forum Reply: RE: exporting a list of licensed users

    It's easy from Powershell! I would use this link: http://support.microsoft.com/kb/2777380 From there, you can modify the given parameters to export licences types. The issue I have with this is that I cannot change the checking string to look for specific licences. This will export a list of...
  • Forum Thread: Powershell: Enter-PsSession to an existing Exchange session ERROR

    Hello, i met an error while executing the following powershell command : Enter-PSSession -ComputerName pod5****.outlook.com -UseSSL Error: Connect-PSSession : The remote session query failed for pod5******.outlook.com with the following error message: WinRM cannot complete the operation. Verify...
  • Forum Reply: RE: how do i add more user licence

    Hi Krushang, I would like to confirm whether you want know how to add licenses to bulk users. If so, usually, we perform bulk user actions by using the PowerShell . Doing bulk license assignments you’ll need to create a CSV file containing the UPN for each batch you want to license. I’ve...
  • Forum Reply: RE: Office 365 & Pictures

    Hi Mike, I am so glad you have resolved this issue. Thanks for providing all the screenshots and information in the private message. I appreciate all your efforts on this issue. Now, I’d like to share some summary here. First, the issue is that: after admin removes end users’ photos...
  • Forum Reply: RE: Powershell Script showing how users connect to O365 for email

    Hi barracuda99, Currently, we have some methods to view the mailbox connection type. But the report might not be very detailed or refined. I not sure if this will meet your specific requirement. To view how users connect to the mailboxes, we have the following two methods: 1. Types of mailbox connections...