Mike McLean is a Senior Program Manager on the Microsoft Project team.
Along with the general availability of Project Online in Office 365, new scenarios have been enabled for Project Online reporting.
We introduced the Project Online OData feed to help you access your data using Excel 2013. During Public Preview, you may have noticed that any attempt to refresh the Excel workbooks in Office 365 generated errors. Now you can refresh Excel workbooks in Excel Web App that consume Project Online OData feeds.
When Excel workbooks are refreshed in Office 365, the BI Azure Service retrieves updated data from Project Online and recalculates the internal workbook model. If the workbook has data connections pointing to Project Online OData feeds, the BI Azure Service must have permission to the SharePoint Online tenant to retrieve that data.
These instructions document how to grant the BI Azure Service access to your SharePoint Online tenant.
- Log on to Project Online.
- Add the following to the end of your Project Web App URL: /_layouts/15/appinv.aspx
For example, if your Project Web App URL is http://contoso.sharepoint.com/sites/pwa, type this URL in the address bar of your browser: http://contoso.sharepoint.com/sites/pwa/_layouts/15/appinv.aspx
- In the App ID field, copy and paste 00000009-0000-0000-c000-000000000000, and then click Lookup. (Note: In the string of digits in Step 3, there are 7 zeroes before the 9, and the last set of zeros is 12 zeroes in a row.)
- In the Permission Request XML field, copy and paste the following XML:
<AppPermissionRequests><AppPermissionRequestScope = “http://sharepoint/projectserver/reporting” Right=”Read”></AppPermissionRequest>
Scope = “http://sharepoint/content/tenant” Right=”FullControl”>
- Click Create.
- On the last page, click Trust It to trust Microsoft.Azure.AnalysisServices. (Note: This step will grant the BI Azure service access to retrieve data from the SharePoint Online tenant. When performing the refresh in Excel Web App, the BI Azure Service will use the Project Online OData connections located in the Excel workbook. BI Azure will attempt to retrieve data from Project Online using the credentials of the user who is performing the refresh on the workbook.)
The next page that displays is PWA Site Settings. You can navigate back to PWA by clicking Project Web App.
If you’d like to verify the BI Azure Service has been granted permission to your SharePoint tenant, navigate to Tenant Admin and take a look at the app permissions.
- Click Admin, then click SharePoint.
- In the Tenant Admin, click apps.
- Click App Permissions.
- Verify that Microsoft.Azure.AnalysisServices is in the list.
Now you can open your Excel workbooks and refresh them in Excel Web App.
- Select the workbook in a SharePoint Document Library. It will display in Excel Web App.
- Click Data > Refresh All Connections.
- The data in the workbook will refresh.
There are three sample OData reports available for Project Online: Project Overview, Resource Overview, and Project Overview Dashboard. For these to refresh in Excel Web App, you must first perform one refresh in Excel 2013 client and save the report. This will update the internal model of the workbook so it is supported by Excel Web App.
The refresh described in this blog post is in Preview mode as we’re gathering feedback on use cases for Project Online customers. Feel free to try it out and refresh your Project Online workbooks.
For more information, you can check out our official online help; see Grant reporting access in Project Online!
–Mike McLean, Senior Program Manager