Which Windows PowerShell cmdlet should you run?

###BeginCaseStudy###
Case Study: 5
Contoso Ltd
Background
You are the SharePoint server administrator for Contoso, Ltd. Contoso has a SharePoint 2010
environment hosted on SharePoint Online and a separate on-premises SharePoint 2010 farm. You
are preparing to upgrade the environments to newer versions of SharePoint. You are also planning
to support a hybrid on-premises/cloud deployment that will be available to customers, partners, and
third-party vendors.
Contoso collaborates with a partner company, Tailspin Toys, on multiple projects.
Technical Environment
All user groups reside in the existing Active Directory Domain Services (AD DS) domain
corp.contoso.com.
The existing SharePoint Online environment is configured as follows:
• The SharePoint Online URL assigned by Microsoft is
http://contoso.sharepoint.com.
• The SharePoint Online Administration Center URL is
https://contoso.admin.sharepoint.com.
• The user name for the Contoso Office 365 administrator is
[email protected].
• An existing line-of-business application provides an OData service
that is hosted in Microsoft Windows Azure SQL Database.
The site collections are described in the following table.

Business Requirements
The upgraded SharePoint environments must meet the following business requirements:
• All SharePoint 2013 features must be available to all users when
connecting from inside or outside of the corporate network.
• Users of the Partner Projects site collection must be able to share
content from their Microsoft Outlook clients and receive content from
external users who send email directly to the site.
• The Corporate Projects site collection must be available to internal
users who connect from outside of the corporate network and must not
require a VPN connection.
• Third-party vendors must be able to read and modify documents.
Technical Requirements
You must meet the following technical requirements:
• Before upgrading the Partner Projects site collection, create a
duplicate, upgraded copy of the site for review and verification purposes.
• Use Active Directory Federation Services (AD FS) 2.0 to authenticate
Contoso employees, partners, and customers.
• Automate the sign-in experience by using the local AD FS 2.0 servers
for AD FS single sign-on (SSO).
• Ensure that a web usage report that contains traffic reports, search
reports, and inventory reports can be provided for any site.
The upgraded SharePoint environments must meet the following technical requirements:
• All user profile information that resides in Active Directory must be
available in SharePoint Online.
• All sites must be able to share a mail-enabled document library that
resides in the cloud.
• The existing line-of-business application must be consumed as an
external content type by using Microsoft Business Connectivity Services
(BCS).
• The Partner Projects site collection must allow Contoso and Tailspin
Toys users to share documents with third-party vendors on an ad-hoc basis,
without incurring additional licensing requirements.
###EndCaseStudy###

You are configuring an administration connection to SharePoint Online.
You need to instantiate the connection and authenticate to Office 365.
Which Windows PowerShell cmdlet should you run?

###BeginCaseStudy###
Case Study: 5
Contoso Ltd
Background
You are the SharePoint server administrator for Contoso, Ltd. Contoso has a SharePoint 2010
environment hosted on SharePoint Online and a separate on-premises SharePoint 2010 farm. You
are preparing to upgrade the environments to newer versions of SharePoint. You are also planning
to support a hybrid on-premises/cloud deployment that will be available to customers, partners, and
third-party vendors.
Contoso collaborates with a partner company, Tailspin Toys, on multiple projects.
Technical Environment
All user groups reside in the existing Active Directory Domain Services (AD DS) domain
corp.contoso.com.
The existing SharePoint Online environment is configured as follows:
• The SharePoint Online URL assigned by Microsoft is
http://contoso.sharepoint.com.
• The SharePoint Online Administration Center URL is
https://contoso.admin.sharepoint.com.
• The user name for the Contoso Office 365 administrator is
[email protected].
• An existing line-of-business application provides an OData service
that is hosted in Microsoft Windows Azure SQL Database.
The site collections are described in the following table.

Business Requirements
The upgraded SharePoint environments must meet the following business requirements:
• All SharePoint 2013 features must be available to all users when
connecting from inside or outside of the corporate network.
• Users of the Partner Projects site collection must be able to share
content from their Microsoft Outlook clients and receive content from
external users who send email directly to the site.
• The Corporate Projects site collection must be available to internal
users who connect from outside of the corporate network and must not
require a VPN connection.
• Third-party vendors must be able to read and modify documents.
Technical Requirements
You must meet the following technical requirements:
• Before upgrading the Partner Projects site collection, create a
duplicate, upgraded copy of the site for review and verification purposes.
• Use Active Directory Federation Services (AD FS) 2.0 to authenticate
Contoso employees, partners, and customers.
• Automate the sign-in experience by using the local AD FS 2.0 servers
for AD FS single sign-on (SSO).
• Ensure that a web usage report that contains traffic reports, search
reports, and inventory reports can be provided for any site.
The upgraded SharePoint environments must meet the following technical requirements:
• All user profile information that resides in Active Directory must be
available in SharePoint Online.
• All sites must be able to share a mail-enabled document library that
resides in the cloud.
• The existing line-of-business application must be consumed as an
external content type by using Microsoft Business Connectivity Services
(BCS).
• The Partner Projects site collection must allow Contoso and Tailspin
Toys users to share documents with third-party vendors on an ad-hoc basis,
without incurring additional licensing requirements.
###EndCaseStudy###

You are configuring an administration connection to SharePoint Online.
You need to instantiate the connection and authenticate to Office 365.
Which Windows PowerShell cmdlet should you run?

A.
Connect-SPOService-Url https://contoso.sharepoint.com -credential [email protected]

B.
Connect-SPOService-Url https://contoso-admin.sharepoint.com -credential [email protected]

C.
Set-SPOTenant -ExternalServicesEnabled -NoAccessRedirectUrl https:// contoso.sharepoint.com

D.
Set-SPOSiteGroup -Site https://contoso-admin.sharepoint.com -Identity Administrators



Leave a Reply 0

Your email address will not be published. Required fields are marked *