Assigning bulk license to Office 365 AD synced users

Hi,
We need to assign bulk office 365 license to more than 5K users. Users are already synched by Dirsync server and we only need to apply license. Our users use Exchange onprem and we need to exclude exchange online license from the E2 plan. So we want only,
Lync ,Off web app and  share point. I have prepared the below script it doesn't make any changes even though it doesnt show any error. I appreciate your help 
  $Step1 = New-MsolLicenseOptions -AccountSkuId mycompany:STANDARDWOFFPACK_FACULTY -DisabledPlans EXCHANGE_S_STANDARD
Import-Csv .\UPN.CSV | foreach {set-MsolUser -UserPrincipalName $_.UPN -UsageLocation SA}
Import-Csv .\UPN.CSV | foreach {Set-MsolUserLicense -UserPrincipalName $_.UPN -AddLicenses mycompany:STANDARDWOFFPACK_FACULTY -verbose -LicenseOptions $Step1}
I followed the below link
http://community.office365.com/en-us/f/148/t/263052.aspx?ss=6818e221-4ad2-45e4-bf3e-ec8451732a99

I tested the below code and it worked
$disabledplans = 'EXCHANGE_S_STANDARD'
$step1 = New-MsolLicenseOptions -AccountSkuId mycompany:STANDARDWOFFPACK_FACULTY `
-DisabledPlans $disabledplans
Import-Csv .\UPN.CSV |
foreach {set-MsolUser -UserPrincipalName $_.UPN -UsageLocation SA}
Import-Csv .\UPN.CSV |
foreach {Set-MsolUserLicense -UserPrincipalName $_.UPN -AddLicenses mycompany:STANDARDWOFFPACK_FACULTY -verbose -LicenseOptions $Step1}
Regards Chen V [MCTS SharePoint 2010]

Similar Messages

  • Adding Licenses for Office 365 Pro Plus and Power BI

    Hello. I have one license for Office 365 Pro Plus and one Power BI license. I want to buy another Power BI license to assign to a prospective client so he can log on to my Power BI site and view Power Pivot reports in the browser. I think that I need to
    purchase an additional Office 365 Pro Plus license ($12/mo) as well as an additional Power BI license ($40/mo). Is this correct?
    My other question has to do with what I believe is referred to as my Organizational account. I have one for Office 365 and a different one for Power BI. That is, my logins are different for the two subscriptions. I'm not sure how this happened or even if
    it's important. I have had no issues installing Office 365 on my desktop, laptop and tablet and I can upload files to my Power BI site and access them. Does it matter that my organizational accounts are different?
    Finally, if I have it correct in paragraph 1 that I need an additional license for both Office 365 Pro Plus and Power BI, do I just login to the two separate organizational accounts and add a license to each one?
    Thank you.
    Regards
    Arthur

    Hi Guy. I went ahead and purchased both licenses. The Office 365 is only $12/mo so it's not a big deal. 
    After getting that great information from you on the other post, I contacted Microsoft support and got this issue straightened out. I did have two accounts (domains). They had me cancel my Office 365 subscriptions on the account that I purchased those subcriptions
    on and then resubcribed to Office 365 on the Power BI account.
    Thanks again for all of your help.
    Regards
    Arthur Jenkins

  • How to delete duplicate attribute in on premise server for office 365 dir sync tool

    Hi,
    Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool .
    While running the dirsync tool iam getting the below error : 
    "Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses smtp:[email protected],SMTP:[email protected];].
     Correct or remove the duplicate values in your local directory.  Please refer to http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute value"
    Still i am troubleshooting to reslove this problem . I have run the ID Fix tool there i could see some 10 duplicate errors . Next what should i do , please anyone help me to find it
    Thanks.....

    Hi,
    Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool .
    While running the dirsync tool iam getting the below error : 
    "Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses smtp:[email protected],SMTP:[email protected];].
     Correct or remove the duplicate values in your local directory.  Please refer to http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute value"
    Still i am troubleshooting to reslove this problem . I have run the ID Fix tool there i could see some 10 duplicate errors . Next what should i do , please anyone help me to find it
    Thanks.....

  • Office 365 directory sync disable stuck on pending

    I have a situation where I have setup directory sync with the on premise AD and Office 365. I have now tried to disable directory sync and is has been a week and it still says:
    Active Directory synchronization is being deactivated. This process may take up to 72 hours to complete.
    in the admin site. I also get this from the PowerShell:
    PS C:\Windows\system32> (Get-MSOLCompanyInformation).DirectorySynchronizationStatus
    PendingDisabled
    I really need some help getting this disabled properly so I can start fresh with directory sync.

    Hi,
    If the output is "PendingEnabled" or "PendingDisabled" after the expected enablement time period has passed, this is a known issue with Exchange Online.
    Please refer to this KB article for more details:
    http://support.microsoft.com/kb/2654338. You might need to follow the steps listed in above article, collect the information, and then contact Support.
    Also,this forum focuses on some general discussion about Microsoft Office, better to post this kind of questions in the forum of Office 365 Community where you can get more effective answers:
    https://community.office365.com/en-us/f/default.aspx
    Hope this helps.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Office 2010 / Office 365 Calender sync

    Hi everyone ! 
    I have a bit of a interesting problem I have been google-ing left  right and center but everwhere I look I cant find a solution
    PROBLEM : The "OUTLOOK 2010/2013" calender does not sync(Sync they dont show the same information) with the " OFFICE 365 CALENDER "
    Extra information : We have over a hundred users everyone computer is doing this , We are running on Imap , E-mail's work perfectly , 
    But if you create a event(meeting) in the Office 365 calender(OWA via browser) only the office 365 calender(OWA via browser) can see it , not the Outlook 2010/2013
    And if you create a event(meeting) in the Outlook 2010/2013 only outlook 2010/2013 can see the event not the office 365(Owa via the browser) 
    But here come's the Curve ball 
    If I create a event(meeting) In office 365 (OWA) And Invite attendees , Both or more user's can see it in Outlook2010/2013 and office 365(OWA)  
    But if you you do it Via outlook ,the user that created it wont be able to see it in the office365(OWA) but the rest would be since they received a mail about it 
    So Since we don't want to run a POP setup. 
     Question : How can I get the office 365 calender(OWA) to sync with Outlook 2010/2013 if you created the event(meeting) in Outlook and vice versa?
    Any help would be greatly appreciated !  

    Hi,
    You are running on IMAP, this is why the calendars don't sync. If the accounts are setup as POP or IMAP, calendars and contacts don't sync. For accounts setup as Exchange, Exchange ActiveSync, calendars and contacts sync between the server and
    client.
    Anyway, may I know why on IMAP?
    "But if you create a event(meeting) in the Office 365 calender(OWA via browser) only the office 365 calender(OWA via browser) can see it , not the Outlook 2010/2013
    And if you create a event(meeting) in the Outlook 2010/2013 only outlook 2010/2013 can see the event not the office 365(Owa via the browser)"
    - This is just as I explained at the beginning, calendar items don't sync due to the IMAP setup.
    "But if you you do it Via outlook ,the user that created it wont be able to see it in the office365(OWA) but the rest would be since they received a mail about it"
    - The organizer doesn't see it on OWA because it shouldn't as I said. The intendees see it on OWA since the request has been sent to the server, no matter it's sent from the Outlook client or OWA, would be processed by the server thus be displayed on users'
    calendars.
    To change the IMAP setup is the only way as I can suggest on my side.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Office 365 - How sync Outlook for MAC with Iphone

    Hello everyone,
    I just bought a Macbook air and I use a trial version of Office 365 for MAC (I will have to by it I guess). How can I sync my outlook (calendar, contacts, task) with my Iphone???
    I had a pc before (using Office and Outlook 2007) and I was able throught Itunes to sync my contacts and my calendar. But not, I don't anymore this option in Itunes??? The only way is throught iCloud? I tried and I wasn't able to sync with Outlook.
    I enabled 'Sync Services' in Outlook but it doesn't works grrrrr
    It look likes if the only way is throught iCloud???? How it works???
    I choose Office 365 because it must have a new Office for MAC in 2014 and it will be "free" for the Office 365 subscribers. That's why I didn't buy Office for Mac.
    And what's the difference with the defaut calendar in Outlook 2011 for MAC (Office 365) with the calendar 'On my computer'? Something to do with the backup?
    Thank you everyone, your help will be very appreciate

    Hello joanata.jas
    The steps to sync your contacts from Outlook to your iPhone are in the article below.
    iTunes 11 for Windows: Sync contacts, calendars, and other info with iPod, iPhone, or iPad
    http://support.apple.com/kb/ph12317
    Regards,
    -Norm G.

  • Office 365: Prgramtically sync Calendar with SharePoint team site calendar

    Hello everyone,
    I need to sync office 365 Calendar with SharePoint team sites Calendars. We have SharePoint online site which having multiple sub sites, each sub site has a calendar control and we need calendar controls need to be sync with the outlook calendar available
    on top bar of office 365.
    We need to do it programmatically as we have more then 200 hundred sub sites, please guide me on this that how it is possible using developer app or PowerShell commands.

    I think it might help to clarify what you mean. When you say "Office 365 Calendar", what you really mean is the Calendar associated with whomever is logged in, stored in Exchange. When you see the "Calendar" link in the little bar at the top of the page,
    that's actually just a link to the Outlook Web Access calendar for a particular user's calendar stored in the Office 365 Exchange server. It's exactly the same calendar that would show up if a user had Outlook installed on their local computer and opened it
    up and looked at the calendar.
    That being said, you aren't going to want to synch every calendar in your whole SharePoint site with a single user's calendar. I think there are a couple approaches for you:
    Create a calendar overlay in SharePoint, which displays other calendars on the current calendar view. Unfortunately, there's a limit as to how many calendars you can do this for, it's far less than 200.
    Allow users to create calendar overalys in Outlook. This is the same idea as what you're doing in SharePoint, except users are doing this within Outlook. Again, adding 200 overlays isn't practical.
    You can try creating an additional company calendar in Exchange that's not tied to a particular user, but then you'll have to run a timer job to keep the Outlook calendar in synch with the SharePoint calendar. This is a lot more cumbersome than just displaying
    the SharePoint calendar, since you're physically copying events over to the Outlook calendar. If you do that, you personally are responsible for keeping the two calendars synched up, rather than just displaying an Exchange calendar in SharePoint, or displaying
    a SharePoint calendar in Outlook.
    You might looking into third party tools such as
    http://www.boostsolutions.com/calendar-rollup-feature-list.html. (I haven't tried that product, it just looks like it might be the type of thing to check out.
    If I have any advice, I would recommend as much as possible creating views of calendars, not actually trying to synch data, unless you're doing a one-way synch. (Synching calendar data can be a little bit difficult because you have reoccurring events to
    take into account.)
    Blog:
    blog.beckybertram.com |
    RSS | @beckybertram |
    SharePoint 2010: Six-in-One

  • Office 365 DIRSYNC - Sync new AD account with Old Office 365 Account

    Hi Guys,
    I've deleted an AD account (let's name it XYZ) that is synced with Office 365. However, I was told that XYZ had joined another dept instead of leaving the company. Therefore, I've recreated another AD account for XYZ and went to the Office 365 Portal to
    recover the deleted mailbox.
    However, I wasn't able to re-sync the XYZ AD account with the Office 365 account. Is there anyway to accomplish this? By the way, XYZ do also have an on-premises Exchange 2010 mailbox.
    Thanks.

    Hi,
    This forum focuses on questions and feedback for Microsoft Office client. There is not so much about Office 365
    deployment\hosted\plan\Cloud aspects here, I would suggest you to post in the forum of
    Office 365 Community, where you can get more experienced responses:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Nokia 1020 Office 365 contact sync

    Hi all
    New to office 365, i have a big difficulty syncing my contacts on all the phones i use :
    Iphone 4 (Personnal Phone) - ios7
    HTC One (Personal Phone) - Android 4
    Nokia Lumia 1020 (Job Phone) - WP8
    Indeed, sync contacts all appear as : No Name and contain a unique email adress..
    Contact list is of about 200 contacts, with phone numbers, and several contact details, that  i need to have to cope incoming call identification on WP8 on nokia lumia
    Data can provide from several means in office 365 account : 
    GAL
    Outlook Contacts
    Lync Contacts.
    This is getting me angry, as i come from an exchange 2010 on prems environnement where activesync problems of this sort didn't exist...
    Is there a way, to get sync to work correctly from data coming from office365...
    Please, any advice or steps to follow will be tested...
    Thanks by advance
    Tugdual

    Hi,
    Are emails synced perfectly?
    When you set up an Exchange account on your device, you should be able to access and synchronize your email, calendar, and contacts. If the account is set up via POP or IMAP, only emails are synced.
    Here are some steps you can refer to when using a Windows Phone:
    Use Office 365 on your Windows Phone 
    http://office.microsoft.com/en-in/office365-suite-help/use-office-365-on-your-windows-phone-HA103787376.aspx
    Hope this can be helpful.
    Regards,
    Melon Chen
    TechNet Community Support

  • Office 365 Basic end user authentication using API without using powershell

    I have an Office 365 username and password. I need to authenticate the credentials without using powershell. I mean by using REST API. I was able to authenticate the admin user using client id and secret along with their username and password.
    All I need is to authenticate an end user using his username and password using graph api or any REST api.

    So you probably need to ask in the dedicated O365 forum:
    http://community.office365.com/en-us/f/default.aspx
    Or maybe an Azure AD forum ?
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How To Manage Exchange in Office 365 AD Sync Environment

    Pisces225x wrote:
    So, for example, right now I have no way to manage distribution lists beyond adding and removing members?  For example, I can't edit the default configuration on a distribution list to allow it to accept external messages. 
    You can do that in EAC.
    https://technet.microsoft.com/library/bb124513.aspx#deliverymanagement

    I implemented AD Sync in our O365 environment a while back. After this I continued to manage Exchange entirely in the O365 admin console. Recently I had a reason to go ahead and extend the AD Schema to include the Exchange attributes. Now the majority of management needs to be done in our local AD. I'm fine with this. My issues are the following:- I initially created and managed all distribution lists in the O365 EAC. They have never existed as objects in our local AD and I have never had on prem Exchange. Is there a way to sync the lists back to our AD? I don't see that they exist anywhere as objects and hence I can't manage them.- Is there anything to be gained by installing Exchange on a local server, even if only to gain access to a local EAC? I'm not interested in trying to set up any kind of hybrid environment.I know someone else...
    This topic first appeared in the Spiceworks Community

  • Not received promotional code when registered for "Microsoft Power BI for Office 365 preview!"

    Hi,
    I have registered for "Microsoft Power BI for Office 365 preview!" and received the welcome mail from Microsoft Office 365 <[email protected]>
    But their is nowhere mention of any promotional code
    Further as per the steps given in the welcome mail I created the unique tenant for Power BI and now provisioning Power BI for office 365. Here as per the snapshot provided in the provisioning document I am not able to see the specific license 
    i.e "Microsoft Power BI for Office 365" which I have to assign to my tenant. Instead I see the License "Microsoft Office 365 Plan E3". Is this acceptible?
    Further i have assigned this license (Microsoft Office 365 Plan E3) and added Power Bi app to the Site Contents
    Now when I try to open Power Bi app to open the reports I have uploaded to office 365, I get the following error
    *********Error************** 
    No Power BI for Office 365 License
     Looks like you do not have a user subscription license for Power BI for Office 365.
     Want to find out what you're missing?
     Learn more about Power BI for Office 365.
     Here are a few ideas:
     Please ask your Office 365 admin to assign you a user subscription license for Power BI for Office 365.
     If you have a different account, try signing in with that account.
    It will be great help if anyone can help me resolve this issue?
    Thanks in Advance!
    Rajendra 
    InfoCepts (Specialists in Onsite and Offshore BI)

    Hi Yair / Rajendra,
    I am Raghav. I am also trying to explore Power BI. I have registered for Office 365 pro plus trail. But I am not able to see Power BI option.
    My userID is : [email protected]
    After I registered, I got a welcome email with a url to login from office 365. Url is - https://portal.microsoftonline.com/admin/default.aspx.
    I am able to login successfully. But I am not able to see the Power BI option anywhere after I login.
    Please suggest me If I miss something. Your help is really appreciated.
    Thanks,
    Raghav.

  • Manage Office 365 Licensing via Azure API

    I am at a loss. We have an issue with limited available licenses for Office 365 Pro Plus for users to use on their home/personal machines. As a result we can not add all of our users, nor does anyone want to manage this manually.
    The solution I proposed is to write a web portal where users can go and selectively apply a license for their account. On the back end, the page would execute an API of some kind to Azure and assign a license. In return, they can also go to remove the license
    if they so desire (It will never happen but give the option).
    What is the best way of doing this? The Azure management portal is extremely confusing and I can not figure out where to begin... I created an API that I can't even figure out how to use and I'm not even sure that I will be able to accomplish this using
    an API. Any suggestions?
    I am using Visual Studio 2013 and at this point purely using a bare bones console app just to see if I can get connected and execute a test API.
    Thanks!
    Tony

    Hi,
    Your second sentence is unclear "We have an issue with limited available licenses for Office 365 Pro Plus for users to use on their home/personal machines".
    Users can install Office 365 ProPlus on up to five different computers with a single Office 365 license. For example, a user can have Office 365 ProPlus installed on a computer in the office, on a laptop to use when traveling, and on a home computer.
    With that in mind, do you really need to create this API?
    Here's some more info on the Pro Plus license:
    To use Office 365 ProPlus, a user must have an Office 365 account and have been assigned a license. If you, as the Office 365 administrator for your organization, remove a user’s license or account, the user’s installations of Office 365 ProPlus go into
    reduced functionality mode.
    Even though users don’t need to be connected to the Internet all the time to use Office 365 ProPlus, users must connect to the Internet at least once every 30 days. This is so that the status of their Office 365 subscriptions can be checked. If users don’t
    connect within 30 days, Office 365 ProPlus goes into reduced functionality mode. After users connect to the Internet and their subscription status is verified, all the features of Office 365 ProPlus are available again.
    https://technet.microsoft.com/en-us/library/gg702619.aspx?f=255&MSPPError=-2147217396
    Cheers
    Amjad

  • Office 365 sync

    I just purchased a surface pro. I installed 365 home on it as well as on my laptop. The website for 365 says "Stay in sync with
    Outlook email, shared calendars, and task-list tools."  Been at this all day and haven't got it to work yet.  Been to all the suggested sites.  It just doesn't work

    Hi,
    Sorry for the inconvenience caused by the issue.
    From your description, could you provide the following information?
    1. When you mentioned “installed 365 home”, do you mean that you are Office 365 Home Premium?
    2. When you said “The website for 365 says ‘Stay in sync with Outlook email, shared calendars, and task-list tools’”, did you add the Office 365 account in Outlook client? If yes, could you capture a screenshot for further investigating?
    If you only use Office 365 Home Premium, we have a specific channel for the Office 365 Home Premium users. Therefore, I recommend you contact
    Office365 Forum
    as Carey Frisch mentioned to get more professional support about the issue. They specialize in that information.
    Thanks for your understanding.
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Softwares/licenses require over Office 365 Development,QA, UAT and Production site

    Hello, Client has Office 365 E3 version, this plan provide Development site. We require to do extreme customization and
    third party integration for that we are planning to go with Provider hosted app.
    So, what are the additional software’s/licenses would require for Development,
    QA, UAT and Production site for 6 developer?
    How can we manage Development licenses cost of Visual Studio 2013, SharePoint 2013 Designer for 6 developers?
    Do client need to purchase additional licenses of Office 365 E3 for QA and UAT site?
    Do client need to buy additional license for Azure Web Site or is it provided in Office 365 E3 version by default, as we need this for Provider hosted app?

    Hi,
    Per my understanding, there might be some queries on the development environment set up in Office 365.
    About the requirement of setting up a development environment for Office 365, steps in details can be found in the two links below:
    Setting up your Development Environment for O365 & Azure Development
    http://blogs.msdn.com/b/steve_fox/archive/2013/02/03/setting-up-your-development-environment-for-o365-amp-azure-development.aspx
    How to: Set up an environment for developing apps for SharePoint on Office 365
    https://msdn.microsoft.com/EN-US/library/office/fp161179.aspx
    For the license related issues of Office 365, I suggest you post it to Office 365 forum, you will get more help and confirmed answers there.
    http://community.office365.com/en-us/f/default.aspx
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Use of transient

    by learning i came to know that use of transient variable may increase the performance for a web application, But i am not very clear where exactly i have to use transient. suppose this is my class, public class ConServ extends HttpServlet {      tra

  • My iMac crashes in Google

    I have an iMac (circa Fall 2007) running OS 10.6.8 and whenever I am in a Google platform (or Yahoo also)  it runs fine for a while then it suddenly turns dark and the screen is filled with parallel lines and crashes. The only way to get it up and ru

  • Master-detail dropdown using selectonechoice

    I have a master-detail releationship between 2 views that I want to display as one table (master) with the detail as a selectonechoice dropdown list column in the master table. The example in "Not Yet Documented ADF Sample Applications" no 71 "Dropdo

  • How to view details in folders?

    Before upgrading to Lion I was able to view the storage capacity at the bottom of the folder, no matter what folder I was in, but now I'm unable to see how many GB are left on my HD, I need this inforamtion so I know when to move my movies, etc to th

  • Sqlca equivalent in JDBC

    Does anyone know of a JDBC equivalent to the ProC structure called SQLCA? I miss the status code and rows inserted/returned information. Thanks, Bob Scharping null