Archive

Archive for the ‘Office365’ Category

Configure Directory Integration between Azure Active Directory and Windows Server Active Directory with Azure AD Connect

December 12, 2015 Leave a comment

image_thumb Image result for office 365

 

In this section we will configure Directory Integration between Azure Active Directory and Windows Server Active Directory using the Azure AD Connect Tool.

First let’s download the Azure AD Connect Tool. Once you downloaded the tool follow below instructions to install the tool and configure the Synchronization.

 

image

 

Accept terms and conditions and click Continue

image

 

In the below step you can either select “Customize” or “Use express settings”

image

 

I will select Customize settings then it allows you to manually enter below options,

image

 

So I am going to enter the Service Account name to the AD Connect tool to continue with the Sync.

image

 

In this step let’s select Password Synchronization as we need to Sync all the passwords attached to local Active Directory Users.

image

 

Before we go to the next option we have to create a service account for DirSync in Office 365 Directory.

Note: The created user should have Global Admin privileges assigned.

 

image

 

Once it is done we can enter the created DirSync service account information

image

 

Then insert Domain Admin account information and add Directory

image

 

Let’s click next and continue the installation

image

 

Since we have single Active Directory forest I will go with “Users are represented only once across all directories” option. Incase if you have more than one forest you may select the “Users are represented only once across all directories” option.

Once again let’s keep the default values for “Select how users should be identified with Azure AD option”.

image

 

Select “Synchronize all users and devices” radio button

image

 

In addition to the default selection I have selected “Password write back” option as well.

What is Password Writeback : By enabling this option, password changes that originate with Azure AD will be written back to the onpremises Directory.

image

 

Let’s start the installation,

image

 

image

 

As you can see below installation is completed with a warning. This is what I wanted you to see at the end so intentionally select password write back option in “Optional Feature” step. Since I am using the Azure Active Directory Basic edition I am not eligible to this facility. In order to have this feature you need to have AAD Premium edition. This article provides detail information about Azure Active Directory editions.

image

 

Click Exit.

As you can see in the below screenshot our onpremises users are synced with Azure Active Directory.

image

 

I hope this article would helpful for you guys.. Happy reading Smile

Advertisements
Categories: Office365, Windows Azure

Disable Office 365 Service Plans (Skype for Business, Exchange, SharePoint, Office) with PowerShell CMDLETS

November 22, 2015 Leave a comment

As an Office 365 Engineer you may get different requests to amend licenses assigned for each individuals in the organization. In this article I will discuss and show you how to disable service plan objects with PowerShell commands. At the end of this article you will be able to create License Option to disable services such as Skype for Business, Exchange Online, SharePoint, and Office. 

As the first step,  let’s identify the AccountSkuId and SkuPartNumber value for each AccountSkuId. Trigger below PS command after you login to your Office 365 portal with the Admin account.

Get-MsolAccountSku | Format-Table AccountSkuId, SkuPartNumber

 

image

 

Here we go… we have got two Part Numbers named STANDARDPACK AND ENTERPRISESPACK. Actually these part numbers depend on plans or subscriptions you have purchased.

Now we need to create a License Option object forch AccountSkuid. To get a detailed understanding about  the office 365 Service Plan Sku’s you can refer my previous article.

 

Disable Skype for Business Plan

 

1. Create a LicenseOption object for each AccountSkuId

Syntax:

$LicenseOption_object_name = New-MsolLicenseOptions -AccountSkuId your-AccountSkuId -DisabledPlans MCOSTANDARD

$LicenseOption_object_name.GetType()

Let’s name the License Object name as “$CloudObj”

 

Example:

$myCloudObj = New-MsolLicenseOptions –AccountSkuId domain:STANDARDPACK -DisabledPlans MCOSTANDARD

$myCloudObj.GetType()

 

2. Disable Skype Business for all users

To disable Skype for Business for all users, run the following command for each LicenseOption object you created in the Step 1

 

Syntax:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name

Example:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $myCloudObj

3. Disable Skype for Business for specific user

Syntax:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

 

Example:

Set-MsolUserLicense – –UserPrincipalName dilshan@domain.com –LicenseOptions $myCloudObj

image

Disable Exchange Online Plan

1. Create a LicenseOption object for each AccountSkuId

Syntax:

$LicenseOption_object_name = New-MsolLicenseOptions -AccountSkuId your-AccountSkuId -DisabledPlans EXCHANGE_S_ENTERPRISE

$LicenseOption_object_name.GetType()

Let’s name the License Object name as “$CloudObj”

 

Example:

$myCloudObj = New-MsolLicenseOptions –AccountSkuId domain:STANDARDPACK -DisabledPlans EXCHANGE_S_ENTERPRISE

$myCloudObj.GetType()

 

2. Disable Exchange Online for all users

To disable Exchange Online for all users, run the following command for each LicenseOption object you created in the Step 1

 

Syntax:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name

Example:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $myCloudObj

 

3. Disable Exchange Online for specific user

Syntax:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

 

Example:

Set-MsolUserLicense – –UserPrincipalName dilshan@domain.com –LicenseOptions $myCloudObj

Disable SharePoint Online Plan

 

1. Create a LicenseOption object for each AccountSkuId

Syntax:

$LicenseOption_object_name = New-MsolLicenseOptions -AccountSkuId your-AccountSkuId -DisabledPlans SHAREPOINTENTERPRISE

$LicenseOption_object_name.GetType()

Let’s name the License Object name as “$CloudObj”

 

Example:

$myCloudObj = New-MsolLicenseOptions –AccountSkuId domain:STANDARDPACK -DisabledPlans SHAREPOINTENTERPRISE

$myCloudObj.GetType()

 

2. Disable SharePoint Online for all users

To disable SharePoint Online for all users, run the following command for each LicenseOption object you created in the Step 1

 

Syntax:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name

 

Example:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $myCloudObj

 

3. Disable SharePoint Online for specific user

Syntax:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

 

Example:

Set-MsolUserLicense –UserPrincipalName dilshan@domain.com –LicenseOptions $myCloudObj

 

Disable Office Professional Plus Plan

 

1. Create a LicenseOption object for each AccountSkuId

Syntax:

$LicenseOption_object_name = New-MsolLicenseOptions -AccountSkuId your-AccountSkuId -DisabledPlans SHAREPOINTENTERPRISE

$LicenseOption_object_name.GetType()

Let’s name the License Object name as “$CloudObj”

 

Example:

$myCloudObj = New-MsolLicenseOptions –AccountSkuId domain:STANDARDPACK -DisabledPlans SHAREPOINTENTERPRISE

$myCloudObj.GetType()

 

2. Disable Office for all users

To disable Office for all users, run the following command for each LicenseOption object you created in the Step 1

Syntax:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name

 

Example:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $myCloudObj

3. Disable Office for specific user

Syntax:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

 

Example:

Set-MsolUserLicense – –UserPrincipalName dilshan@domain.com –LicenseOptions $myCloudObj

 

I hope this will help for you guys….

Categories: Office365

Office 365 Service Plan SKU’s

November 22, 2015 Leave a comment

Below herewith are the types of subscriptions and services currently available with office 365.

If you want to retrieve AccountSkuid and Service Plans in a particular time, you may run below shell commands,

Get-MsolAccountSku

image

 

Once you identified the AccountSkuid, you can get services attached to it with below PS command,

Get-MsolAccountSku | Where-Object {$_.SkuPartNumber -eq "ENTERPRISEPACK"} | ForEach-Object{$_.ServiceStatus}

image

Office 365 Enterprise E3 | ENTERPRISEPACK

AAD_PREMIUM

EXCHANGE_S_ENTERPRISE

Exchange Online (Plan 2)

MCOSTANDARD

Lync Online (Plan 2)

SHAREPOINTENTERPRISE

SharePoint Online (Plan 2)

SHAREPOINTWAC

Office Online

OFFICESUBSCRIPTION

Office ProPlus

RMS_S_ENTERPRISE

Azure Active Directory Rights Management

YAMMER_ENTERPRISE

Yammer

SWAY

SWAY

INTUNE_O365

INTUNE

 

AAD_PREMIUM

Azure Active Directory Premium

MFA_PREMIUM

Azure Multi-Factor Authentication

 
Office 365 Enterprise E4 | ENTERPRISEPACKWSCAL

EXCHANGE_S_ENTERPRISE

Exchange Online (Plan 2)

MCOSTANDARD

Lync Online (Plan 2)

SHAREPOINTENTERPRISE

SharePoint Online (Plan 2)

SHAREPOINTWAC

Office Online

OFFICESUBSCRIPTION

Office ProPlus

RMS_S_ENTERPRISE

Azure Active Directory Rights Management

YAMMER_ENTERPRISE

Yammer

SWAY

SWAY

INTUNE_O365

INTUNE

MCVOICECONF

Lync Online (Plan 3)

 

Office 365 Small Business Premium | LITEPACK_P2

EXCHANGE_L_STANDARD

Exchange Online (Plan 1)

MCOLITE

Lync Online (Plan 1)

SHAREPOINTLITE

SharePoint Online (Plan 1)

OFFICE_PRO_PLUS_SUBSCRIPTION_SMBIZ

Office ProPlus

Office 365 Midsize Business

MIDSIZEPACK

 

Office 365 Midsize Business | MIDSIZEPACK

EXCHANGE_S_STANDARD_MIDMARKET

Exchange Online (Plan 1)

MCOSTANDARD_MIDMARKET

Lync Online (Plan 1)

SHAREPOINTENTERPRISE_MIDMARKET

SharePoint Online (Plan 1)

SHAREPOINTWAC

Office Online

OFFICESUBSCRIPTION

Office ProPlus

YAMMER_MIDSIZE

Yammer

 

Office 365 Enterprise K1 with/without Yammer | DESKLESSPACK or DESKLESSPACK_YAMMER

EXCHANGE_S_DESKLESS

Exchange Online Kiosk

SHAREPOINTDESKLESS

SharePoint Online Kiosk

YAMMER_ENTERPRISE

Yammer for the Starship Enterprise

 

Office 365 Enterprise K2 | DESKLESSWOFFPACK

EXCHANGE_S_DESKLESS

Exchange Online Kiosk

SHAREPOINTDESKLESS

SharePoint Online Kiosk

SHAREPOINTWAC

Office Online

 

Office 365 for Education

STANDARDPACK_STUDENT

Microsoft Office 365 (Plan A1) for Students

STANDARDPACK_FACULTY

Microsoft Office 365 (Plan A1) for Faculty

STANDARDWOFFPACK_FACULTY

Office 365 Education E1 for Faculty

STANDARDWOFFPACK_STUDENT

Microsoft Office 365 (Plan A2) for Students

STANDARDWOFFPACK_IW_STUDENT

Office 365 Education for Students

STANDARDWOFFPACK_IW_FACULTY

Office 365 Education for Faculty

EOP_ENTERPRISE_FACULTY

Exchange Online Protection for Faculty

EXCHANGESTANDARD_STUDENT

Exchange Online (Plan 1) for Students

OFFICESUBSCRIPTION_STUDENT

Office ProPlus Student Benefit

 

Office 365 for Government

STANDARDPACK_GOV

Microsoft Office 365 (Plan G1) for Government

STANDARDWOFFPACK_GOV

Microsoft Office 365 (Plan G2) for Government

ENTERPRISEPACK_GOV

Microsoft Office 365 (Plan G3) for Government

ENTERPRISEWITHSCAL_GOV

Microsoft Office 365 (Plan G4) for Government

DESKLESSPACK_GOV

Microsoft Office 365 (Plan K1) for Government

ESKLESSWOFFPACK_GOV

Microsoft Office 365 (Plan K2) for Government

EXCHANGESTANDARD_GOV

Microsoft Office 365 Exchange Online (Plan 1) only for Government

EXCHANGEENTERPRISE_GOV

Microsoft Office 365 Exchange Online (Plan 2) only for Government

SHAREPOINTDESKLESS_GOV

SharePoint Online Kiosk

EXCHANGE_S_DESKLESS_GOV

Exchange Kiosk

OFFICESUBSCRIPTION_GOV

Office ProPlus

MCOSTANDARD_GOV

Lync Plan 2G

SHAREPOINTWAC_GOV

Office Online for Government

SHAREPOINTENTERPRISE_GOV

SharePoint Plan 2G

EXCHANGE_S_ENTERPRISE_GOV

Exchange Plan 2G

EXCHANGE_S_ARCHIVE_ADDON_GOV

Exchange Online Archiving

 

Other plans and add-ons

LITEPACK

Office 365 (Plan P1)

STANDARDPACK

Microsoft Office 365 (Plan E1)

STANDARDWOFFPACK

Microsoft Office 365 (Plan E2)

DESKLESSPACK

Office 365 (Plan K1)

EXCHANGEARCHIVE

Exchange Online Archiving

EXCHANGETELCO

Exchange Online POP

SHAREPOINTSTORAGE

SharePoint Online Storage

SHAREPOINTPARTNER

SharePoint Online Partner Access

PROJECTONLINE_PLAN_1

Project Online (Plan 1)

PROJECTONLINE_PLAN_2

Project Online (Plan 2)

PROJECT_CLIENT_SUBSCRIPTION

Project Pro for Office 365

VISIO_CLIENT_SUBSCRIPTION

Visio Pro for Office 365

INTUNE_A

Intune for Office 365

CRMSTANDARD

CRM Online

CRMTESTINSTANCE

CRM Test Instance

ONEDRIVESTANDARD

OneDrive

WACONEDRIVESTANDARD

OneDrive Pack

SQL_IS_SSIM

Power BI Information Services

BI_AZURE_P1

Power BI Reporting and Analytics

EOP_ENTERPRISE

Exchange Online Protection

PROJECT_ESSENTIALS

Project Lite

CRMIUR

CRM for Partners

NBPROFESSIONALFORCRM

Microsoft Social Listening Professional

AAD_PREMIUM

Azure Active Directory Premium

MFA_PREMIUM

Azure Multi-Factor Authentication

 

Hope this article would helpful for your guys…

 

Reference : http://blogs.technet.com/b/treycarlee/archive/2014/12/10/list-of-powershell-licensing-sku-s-for-office-365.aspx

Categories: Office365

Subtask ValidateConfiguration execution failed: Configure Mail Flow (Error)

February 16, 2015 Leave a comment

 

This is another major error you might get during the Office 365 Hybrid setup. If the Hybrid configuration failed in your first attempt and you run the HCW again you will get this issue.

 

image

 

Resolution:

Important You will lose mail flow while you perform these steps. To minimize the disruption, perform this procedure during a scheduled downtime. 
Remove the hybrid mail flow connectors from the on-premises environment and from Exchange Online. To do this, follow these steps:

  1. Remove the Send and Receive connectors from the on-premises environment. To do this, open the Exchange Management Console, and then follow these steps:
    1. To remove the Send connector, expand Organization Configuration, click Hub Transport, click the Send Connectors tab, right-click Outbound to Office 365, and then click Remove.
    2. To remove the Receive connector, expand Server Configuration, click Hub Transport, click the Receive Connectors tab, select the server that has the Receive connector that you want to remove (usually the hybrid server), right-click Inbound from Office 365, and then click Remove.
  2. At a command prompt, run the following command to sync all domain controllers:
    repadmin /syncall
  3. Remove the Send and Receive connectors from Exchange Online. To do this, follow these steps:
    1. Sign in to the Office 365 portal, click Admin, and then click Exchange to open the Exchange admin center.
    2. Click mail flow, and then click connectors.
    3. To remove the Send connector, click Hybrid Mail Flow Outbound Connector under Outbound Connectors, and then click Delete
    4. To remove the Receive connector, click Hybrid Mail Flow Inbound Connector under Inbound Connectors, and then click Delete
  4. Run the Hybrid Configuration Wizard again.

Source: http://support.microsoft.com/kb/2977293?wa=wsignin1.0

Categories: Office365

Upgrade Hybrid Configuration Failed with Errors

February 16, 2015 Leave a comment

When you run the Office 365 Hybrid configuration wizard you might get below error,

image

Solution : You have to make sure all the third party software’s are disabled and at the same time you get the error click back and click next again, this error would go away. I have experienced couple of error like this in some of my project implementations.

Categories: Office365

2014 in review

December 30, 2014 Leave a comment

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 27,000 times in 2014. If it were a concert at Sydney Opera House, it would take about 10 sold-out performances for that many people to see it.

Click here to see the complete report.

Categories: Office365

Utilities which can use to create VHD versions of your physical disks

December 2, 2014 Leave a comment

 

Herewith some tools you could use to create VHD version of your physical disks. Since 2012 R2 SCVMM has removed the P2V conversion option you can use below utilities.

Disk2VHD

http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

 

Microsoft Virtual Machine Converter 3.0

http://www.microsoft.com/en-us/download/details.aspx?id=42497

 

2Tware Convert VHD Free 1.0.4

http://www.2tware.com/product/6/2twareconvertvhdfree

Categories: Office365