Do you travel with your laptop? Are you running Windows Server 2008 (or R2) on it? Is it a 64-bit OS? Does it have enough memory to run a VM of the PowerPivot server components? (4GB will just do it, but 8GB is better – with 6GB reserved to the SharePoint image) Are you running SharePoint 2010 and PowerPivot on it?
If the answer to all of these questions is YES (and there is an amazing number of people who do use their laptops like this), then read on. If you don’t then, still read on if you are a geek. If you try to take your laptop off the network (i.e. in a plane at 20,000 ft), then you will run into an issue around the construction of a valid Windows token. You will get the following error:
Just before Excel Services calls PowerPivot (at the OLEDB provider level), it attempts to translate its claims token to a Windows token for establishing a “Windows environment” for PowerPivot. With CTP3, this translation requires access to the domain controller for where the account lies – and obviously that is not available as you are disconnected from the network. Ultimately the system should use cached credentials if they are available, but that does not happen in CTP3. To solve the problem, we can either: (1) install a local domain controller on the machine – this is surprising easy but a bit of an overkill for this situation. An alternate approach is to setup Excel Services (and some of the PowerPivot components) to use the unattended execution account (aka, the “NONE” authorization setting for the connection in Excel). In the rest of this posting, I’ll talk about how to do that.
(Sorry about the quality of the screenshots. This wasn’t originally developed for my blog)
Steps to follow:
0 — Get your machine up and running on your home domains
1 — Do regular NEW FARM installation on the machine. Give the same account for both the farm administrator and the SQL services, i.e. click on "Use a single account . . ."
2 — Ensure everything is running correctly.
3 — Go into the Excel Services service application and change the Unattended Account to be "PowerPivotUnattendedAccount" (created as part of a NEW FARM installation)
Run Central Administration and click on "Manage service applications"
Click on "ExcelServiceApp1" and then on "Global Settings"
At the bottom of the page, in the section titled "External Data", fill in PowerPivotUnattendedAccount" as the unattended service account
4 — You must set all PowerPivot workbooks to use "NONE" as their Excel Services authentication technique. THIS MEANS ALL OF YOUR DEMO WORKBOOKS.
Here is how to do it:
a — In Excel desktop, go to the Data ribbon and click on "Connections"
b — Select the ‘Sandbox’ data connection (likely this will be your only connection) and click on Properties…
c — Go to the Definition tab and at the bottom click on "Authentication Settings…"
d — Select "None" and then OK, then OK, and Close.
e — Save the workbook.
5. If you are going to demo the PowerPivot Mgmt Dashboard, then there are three workbooks that you must modify to use NONE. These workbooks are located at:
a — Go to Central Admin and click on "PowerPivot Management Dashboard" at the bottom of "General Application Settings".
b — On the left-hand side, click on "All content"; and then "ITOps Workbooks" document library; and then on the GUID which represents the PowerPivot service application (most likely just one subfolder)
c — Click on 1033 or the locale for the being rendered) and you will see 3 workbooks. Modify those as per the steps outlined above in #4.
You are all done now and the PowerPivot Mgmt Dashboard should work now.
REMEMBER THAT YOU MUST MODIFY ANY AND ALL WORKBOOKS THAT YOU ARE USING TO HAVE THE ECS AUTHENTICATION SET TO "NONE" TO GET YOUR WORKBOOK TO RENDER UNDER ECS.
You are all set to go . . .


Why do I have to install a new farm for this to work?
here is my scenario….
my laptop is part of a domain, but I don’t log into that domain normally. Once in a while through VPN. Sharepoint works fine, PPS works fine, but PowerPivot does not because of the above issues I assume. When I installed PP, I created a new Excel Services appool, PowerPivot app pool and a new Secure Store apppool. I am not sure where you are getting this PowerPivotUnattendedAccount from though. I created a new target giving everyone access (dev env) and I am still getting the error above except now it says that “the data connection uses None as the extrenal data authentication method and Unattended Service Account has not been configured. The follwoing connectoins failed to refresh: Data”
any ideas?
Hi Frank:
It isn’t the service accounts; it is the interactive user accounts used for data access. SharePoint uses a Idfx service called “C2WTS” (Claims to Windows Token Service). This server uses S4U to return a Windows token for the user — and Excel Services sets the Windows token on the calling thread before it calls its data providers (e.g. PowerPivot). One of the requirements of S4U is that the user domain controller must be always available for the translation. Thus you will notice that the “taking the server off the network” is all about reconfiguring Excel Services to use Secure Store or the unattended account rather than Windows interactive logins for the interactive user accounts.
Hope that helps.
[...] for data access when using Windows authentication for a connection (see my earlier posting, http://powerpivotgeek.com/2009/11/06/taking-your-server-off-the-network/). Interestingly it isn’t Excel Services specifically that has this requirement, rather it is the [...]
[...] as the authentication, this is how the “off-the-network” blog entry that I wrote, see http://powerpivotgeek.com/2009/11/06/taking-your-server-off-the-network/. This is straightforward and easy to implement, but it lacks the strong security enforcement of [...]
[...] your machine connected to the network? Dave has written a good blog on this also (http://powerpivotgeek.com/2009/11/06/taking-your-server-off-the-network/). If you are actually trying to run a PowerPivot demo with a machine which is not on the network, [...]