Archive

Archive for the ‘Work’ Category

#ProjectOnline data capture / snapshot capability with #PowerShell #SharePoint #Office365 #PPM #BI

August 26, 2016 Leave a comment
Paul Mather
I am a Project Server and SharePoint consultant but my main focus currently is around Project Server.
I have been working with Project Server for nearly five years since 2007 for a Microsoft Gold Certified Partner in the UK, I have also been awared with the Microsoft Community Contributor Award 2011.
I am also a certified Prince2 Practitioner.

This article has been cross posted from pwmather.wordpress.com (original article)

This blog post will show an option to capture Microsoft’s PPM Project Online data into a SharePoint list on a schedule to enable time driven data capture for snapshot / trend reporting capability. This example makes use of a PowerShell script I created to get the data and write this to a SharePoint list. The PowerShell script will use the Project Reporting OData API to get all of the specified project data in the PWA Site Collection then create a list item on the specified SharePoint list. The user setting up the script will need to update the source PWA instance URL, username, password and list name. The account specified will need access to the OData API in PWA and contribute access to the target SharePoint list. The SharePoint list will also need to be created beforehand with the required columns. The OData query will need to be updated to include the correct project level fields required and the part of the script that creates the list items will need to be updated too. This is covered below.

This script example can be downloaded here: http://bit.ly/2bvkCvZ

To get the script to work you will need to reference the DLL as seen in the image below:

image

This can be installed from the SharePoint Online Client components / management shell. I used the dll from the SharePoint Online Management Shell in this example.

Please note, this has only been tested in PowerShell 3.0 and might not work in other versions. If you have any issues try this in PowerShell 3.0.

Firstly decide what project level fields you want to capture, this will determine the list column requirements. Then create the SharePoint list in the PWA site collection with the required columns, for this example I created a list called ProjectSnapShots with the columns below:

image

The SnapshotDate column was set to have today as the default value so that when the items are created the date is set automatically.

Update the Project OData query to include the correct fields that you want to capture, in this simple example I have included the following:

image

$url = $PWAInstanceURL + "/_api/ProjectData/Projects()?`$Filter=ProjectType ne 7&`$Select=ProjectId,ProjectName,ProjectPercentCompleted,ProjectHealth,ROI,RiskRating&`$orderby=ProjectName"

As you can see I have a list column for each project level field. The next part of the script that needs to be updated is the item creation:

image

This is where you map the project level fields to the correct SharePoint list columns based on the data you are capturing.

Also ensure the variables have been updated correctly, placeholder values seen below:

image

Save and run the PowerShell script (fully test on a non-production PWA site collection before Production) to ensure the data is captured correctly in the target SharePoint list. You could then set this up to run as a scheduled task on a local server or a scheduled WebJob in Azure to capture the data weekly or monthly etc. For details on a scheduled WebJob see: http://bit.ly/2c26tcj

Once the script is run you will see the data in the SharePoint list, below I have run this 3 times:

image

You could then create a snapshot / trend report as required from the list data and even join to the live Project OData API if you capture the Project ID as I have in the example script / list.

A simple time driven data capture to enable snapshot / trending reports for Project Online. This script could easily be modified to capture the data into a SQL database, either on-prem or in Azure SQL if required. Also if this was to be run in production the script should be updated for error handling with try / catch blocks etc.

The script is provided "As is" with no warranties etc.

Categories: Paul Mather, Work Tags:

Microsoft Releases SharePoint Framework Developer Preview!

August 18, 2016 Leave a comment

Microsoft just made the SharePoint Framework Developer Preview available via GitHub which was originally announced back in May 2016.  Please see the links below for more details:

Dev Center announcement: http://bit.ly/2bAkSKC
GitHub repository: http://bit.ly/2bq2ENg

The post Microsoft Releases SharePoint Framework Developer Preview! appeared first on blog about technology….

from blog about technology… http://bit.ly/2bAkmMJ

Jin Kang
I am an ECM Solutions Architect with over 7 years of experience envisioning, architecting, and implementing enterprise solutions using various technologies including Azure, Office 365, and SharePoint.

Currently I work at ConocoPhillips, providing problem resolution capabilities for systemic environment faults and outages, assist with automating and improving operational process, and collaborate with Operations and Support teams to evaluate, design, and introduce technologies to solve real business problems. I also provide subject matter expertise support to customers.

This article has been cross posted from jinkang.us (original article)

OneDrive for Business – Configurable Retention Period for Orphaned OneDrives!

August 11, 2016 Leave a comment

Hello again! It’s a well-known fact in On-Premise SharePoint world that ever since SharePoint 2010, My Site Clean Up Timer Job is set up 14 days before the MySite is deleted, and there’s nothing you can do about that other than disable the timer job and/or write your own timer job. Matter of fact, I recall countless SP conferences recommending you disable this timer job and handle retention via custom process where you have more visibility and control. In SharePoint Online world, this was changed to 30 days and if you’re like me and have corporate retention policies that are longer than 30 days, you would have to go thru series of workarounds to extend the retention period by leaving the Office 365 account active one way or another.

Well let me tell you that the days of that for SharePoint Online are gone now! I was surprised to see that the May 2016 release of the SharePoint CSOM (v 16.1.5312.1200) introduced ad new property called OrphanedPersonalSitesRetentionPeriod that allows you to get or set the default retention days to OneDrive for Business sites. Even better, the values can be set between 30 to 3650. That’s measured in DAYS! Which means max value is 10 years!!

I’m glad Microsoft has added this option as it now gives a lot of flexibility for organizations to ensure OneDrive retention meets their corporate retention policies.

Easiest way to change the retention is via SharePoint Online PowerShell commands:
…and you can download the latest SharePoint Online PowerShell from here

#Connect to SharePoint Online Admin (change URL to your SPO tenant Admin URL)
Connect-SPOService -Url http://bit.ly/2bkvM95-Credential (Get-Credential)

#Set Retention period – change the value of ‘3650’ to value you prefer
Set-SPOTenant -OrphanedPersonalSitesRetentionPeriod 3650

#Run the following command to confirm value has been applied
(Get-SPOTenant).OrphanedPersonalSitesRetentionPeriod

Here are some links to where you can find out more about this:

Good luck!

The post OneDrive for Business – Configurable Retention Period for Orphaned OneDrives! appeared first on blog about technology….

from blog about technology… http://bit.ly/2bkvHCr

Jin Kang
I am an ECM Solutions Architect with over 7 years of experience envisioning, architecting, and implementing enterprise solutions using various technologies including Azure, Office 365, and SharePoint.

Currently I work at ConocoPhillips, providing problem resolution capabilities for systemic environment faults and outages, assist with automating and improving operational process, and collaborate with Operations and Support teams to evaluate, design, and introduce technologies to solve real business problems. I also provide subject matter expertise support to customers.

This article has been cross posted from jinkang.us (original article)

Code based Sandbox solutions finally on their way out in #O365 MT

August 10, 2016 Leave a comment

This is just a short post to remind myself later when this occured.

From speaking to colleagues etc. advise from Microsoft went out to customers a couple of weeks ago and recently this article was published.

Link: https://dev.office.com/blogs/removing-code-based-sandbox-solutions-in-sharepoint-online

In particular, this should be noted:

Detailed below are recent actions taken and what to expect next:

  • As part of the removal process, activation of new code-based sandbox solutions, as well as updates of existing solutions are no longer available.
  • In the coming weeks, running code-based sandbox solutions in SharePoint Online multi-tenant environments also will be disabled. Customers with these solutions should watch the Message Center and Service Health Dashboard (SHD) for details, timelines, and exception processes.

And more importantly for No Code Sandbox Solutions

    Note that currently, we do not plan to deprecate or remove support for declarative (no-code) sandboxed solutions. 

Sandbox Solutions have been deprecated (code based ones at least) for a long time now.

Relevant article from 2014:

Sympmarc.com provides guidance on the usage of the PowerShell script from the PnP including installation of the right modules (Azure, O365 etc.) for Windows…

More info is available here:

And lastly, Rencore also have a free tool to help you find those solutions (I haven’t tried this however):

    They state that as of today (10th August), Code based Sandbox Solutions will not be allowed within 21 days…

image

Keep SharePointin’

I’ve discovered Open Live Writer!!! + new bloggers coming…

August 10, 2016 Leave a comment

Hello internet world!

I has been a long time since I have blogged again (life keeps taking over)… I think the last time was either during Ignite last year or perhaps my sessions or RMS / IRM… I can’t remember.

Anyway… things have changed a lot of me… I have a new position working for EY and I am now firmly based in Austin rather than travelling between Austin (TX), Houston (TX) and Barlesville (OK) as I had been doing for the last few years.

So without further ado, here’s an update…

As you will have seen, other bloggers on this site have kept things going on a semi-regular basis… they either write directly or the posts are cross posted from their blog sites…

Well I have a few more bloggers to add to the mix, so stay tuned.  You may or may not be aware but all bloggers on this site are people that I have personally worked with in my past / present positions or met via internet means… so this is not your usual SharePoint blog aggregator!

Lastly, as I am starting to ramp up on the blogging front again… I have noticed that in February this year, someone has open sourced and updated Windows Live Writer and created Open Live Writer.

Finally a decent blogging tool that is going to see continued development Smile

Here’s the link: http://openlivewriter.org/ 

openlivewriter-purpleheader

Now, if someone wants to do the same for Expression 4.0 Screen Recorder and Windows Live Movie Maker… I will be a very happy man… hint hint…

Anyway… stay tuned and till the next time…

Keep SharePointin’

PS. this post was written with Open Live Writer

#ProjectServer and #SharePoint 2013 / 2016 August 2016 Cumulative Update #PS2013 #SP2013 #PS2016 #SP2016 #MSProject

August 9, 2016 Leave a comment
Paul Mather
I am a Project Server and SharePoint consultant but my main focus currently is around Project Server.
I have been working with Project Server for nearly five years since 2007 for a Microsoft Gold Certified Partner in the UK, I have also been awared with the Microsoft Community Contributor Award 2011.
I am also a certified Prince2 Practitioner.

This article has been cross posted from pwmather.wordpress.com (original article)

The Office 2016 August 2016 updates and cumulative updates are now available, please see the links below:

http://bit.ly/2aDN4JS

Project 2016 August 2016 update:
http://bit.ly/2aPUSvh

SharePoint Server 2016 August 2016 update – Project Server 2016 fixes:  
http://bit.ly/2aDNi3y & http://bit.ly/2aPUWLB

The Office 2013 August 2016 updates and cumulative updates are now available, please see the links below:

http://bit.ly/2aDN4JS

Project Server 2013 August 2016 CU Server Roll up package:
http://bit.ly/2aDNdx1

Project Server 2013 August 2016 update:
http://bit.ly/2aPULQv – link not live at time of writing

Project 2013 August 2016 update:
http://bit.ly/2aDMGv3 – link not live at time of writing

Also worth noting, if you haven’t done so already, install Service Pack 1 http://bit.ly/1uorn2C first if installing the August 2016 CU.

As always, fully test these updates on a replica test environment before deploying to production.

Categories: Paul Mather, Work Tags:

#ProjectOnline / SharePoint CSOM updated to include Resource Engagements #Office365 #SharePointOnline

August 8, 2016 Leave a comment
Paul Mather
I am a Project Server and SharePoint consultant but my main focus currently is around Project Server.
I have been working with Project Server for nearly five years since 2007 for a Microsoft Gold Certified Partner in the UK, I have also been awared with the Microsoft Community Contributor Award 2011.
I am also a certified Prince2 Practitioner.

This article has been cross posted from pwmather.wordpress.com (original article)

Just a quick post to highlight the latest SharePoint Online / Project Online CSOM version (16.1.5521.1200) now includes the Resource Engagement classes and properties:

image

http://bit.ly/2bedgMM

Categories: Paul Mather, Work Tags:
Follow

Get every new post delivered to your Inbox.

Join 498 other followers

%d bloggers like this: