###BeginCaseStudy###
Testlet 1
Background
Business Scenario
You are the lead architect, developer, and web administrator of SharePoint 2013 for your company,
Consolidated Messenger. Consolidated Messenger is a national company with hundreds of franchises.
Consolidated Messenger focuses on bicycle-based courier services in metropolitan areas.
Consolidated Messenger sells franchises to franchisees. Franchisees have three user types:
Technical Scenario
When a franchisee purchases a franchise, they are provided with:
access to Consolidated Messenger’s SharePoint 2013 multi-tenant farm located at https://
sp.consolidatedmessenger.com
access to a Customers list in the Corporate site collection, named CorporateSiteCollection, which includes a
list of all Customers across all franchisees
a single site collection for each franchisee, named FranchiseeSiteCollection
an unlimited number of customer subsites for each franchisee
Consolidated Messenger has funded the creation of three apps.
Solution Architecture
Site Collection Structure
SharePoint Farm Design
My Sites are not created for each Franchisee unless they are requested.
Business Requirements
Technical Requirements
Each Franchise site collection must include a SharePoint document library to store CSV files.
FranchiseMonitor App
Application Design
Franchise employees use Microsoft Excel 2013 to create a list of pick-up and drop-off locations for each bicycle
courier for each day. The spreadsheet is named Appointments.csv.
Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint
document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
Technical Requirements
The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the
SharePoint farm if the courier has remained stationary for more than three minutes.
The FranchiseMonitor app must be listed on the Site Contents page of the host web.
The FranchiseMonitor app must use claims-based authentication, once launched, to authenticate the
franchisee against an API provided by Margie’s Travel.
The FranchiseMonitor app must be deployed to all site collections by the SharePoint administrator.
The FranchiseMonitor app must be immediately available to be installed on websites within the tenancy on a
website-by-website basis to any tenant contained in the SharePoint farm.
The FranchiseMonitor app must be able to create lists within SharePoint to store records of the CSV files so
that they may be sent to the CloudManager app.
CourierMobile AppApplication Design
Each bicycle courier for each franchise is provided a Microsoft Surface Pro device with LTE. Most bicycle
couriers do not return their Microsoft Surface Pro devices back to their franchise locations nightly.
The CourierMobile app runs on the bicycle courier’s Microsoft Surface Pro device.
Margie’s Travel provides an API to enable external developers to authenticate by using OAuth and claimsbased authentication. Many couriers are members of Margie’s Travel.
The CourierMobile app receives Microsoft Outlook appointments and Outlook appointment cancellations
from the CloudManager app. The appointments include the address of the location for pick-up or drop-off.
Business Requirements
The CourierMobile app must display a Bing map to display route data when Outlook appointments or
appointment cancellations are received.
The CourierMobile app must capture the location of the Microsoft Surface Pro device on a regular interval.
This data must be captured regardless of whether the device has connectivity.
The CourierMobile app must be able to connect to the SharePoint Customers list and verify whether the
account belongs to the franchisee to avoid pickups or deliveries to customers that do not belongs to the
franchisee. When the CourierMobile add accesses the Customers list, it must only read its contents with the
minimum permissions necessary.
Technical Requirements
The CourierMobile app must provide the ability to authenticate by using the courier’s Microsoft account or
the Margie’s Travel API.
The CourierMobile app must include a custom sign-in page that includes branding from Consolidated
Messenger and Margie’s Travel, based on the authentication provider selected by the user.
The CourierMobile app must be able to capture more than 30 million data points of location data daily as
they occur and upload the location data to the cloud when connected to the Internet.
CloudManager App
Application Design
CloudManager processes two sets of data:
Updates to the list of appointments received from the FranchiseMonitor app
Geo-location data received from the CourierMobile app
Business Requirements
The CloudManager app must implement business logic that parses Appointments.csv and geo-location data
and sends Appointments or Appointment cancellations to the CourierMobile app.
Technical Requirements
The CloudManager app must elastically scale to capture courier location data as the number of bicycle
couriers increases or decreases.
The CloudManager app must process bicycle courier location data from a data store capable of storing
more than 30 million items.
Solution Code
MyClaimsProvider.cs
AppManifest.xml for Franchise Monitor app
###EndCaseStudy###
You need to ensure that the CloudManager app can write route progress check-ins to the courier’s microfeed.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A.
Ensure that SP.RequestExecutor.js can be accessed in a browser window with no errors.
B.
Ensure that the CloudManager app has the Manage permission request scoped to the URL for the
franchisee’s My Site.
C.
Ensure that the MySite host is provisioned for each franchisee.
D.
Ensure that all cookies are made available between the My Site and the CloudManager app domain.
E.
Ensure that the CloudManager app has the Write permission request scoped to the URL for the
franchisee’s My Site.
F.
Ensure that SP.UserProfiles.js can be accessed in a browser window with no errors.
Explanation:
* From scenario:
/ Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint
document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
/ The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the
SharePoint farm if the courier has remained stationary for more than three minutes.
/ The CloudManager app must implement business logic that parses Appointments.csv and geo- location data
and sends Appointments or Appointment cancellations to the CourierMobile app.