Project Online Creates Project Tasks instead of SharePoint Tasks

%3CLINGO-SUB%20id%3D%22lingo-sub-862169%22%20slang%3D%22en-US%22%3EProject%20Online%20Creates%20Project%20Tasks%20instead%20of%20SharePoint%20Tasks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-862169%22%20slang%3D%22en-US%22%3E%3CP%3EDefault%20Enterprise%20Project%20Type%20is%20SharePoint%20Tasks%20List%20with%20Site%20Creation%20option%20set%20to%20%22Allow%20users%20to%20choose%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20automate%20create%20SharePoint%20Tasks%20List%20project%20mimicking%20out%20of%20the%20box%20feature%20%22SharePoint%20Task%20List%22%20see%20screenshot%20below.%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fjgvjg48436.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F87919iA0FEBA5004359928%2Fimage-size%2Flarge%2Fis-moderation-mode%2Ftrue%3Fv%3D1.0%26amp%3Bpx%3D999%22%20border%3D%220%22%20%2F%3E%3C%2FP%3E%3CP%3EWhen%20a%20list%20item%20is%20created%20in%20another%20SharePoint%20site%20I%20want%20to%20create%20the%20project%20and%20SharePoint%20Tasks%20List.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fjgvjg48436.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F87913i0C01CD5332673A5B%2Fimage-size%2Flarge%2Fis-moderation-mode%2Ftrue%3Fv%3D1.0%26amp%3Bpx%3D999%22%20border%3D%220%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20it%20keeps%20activating%20the%20Enterprise%20Project%20Features%20and%20the%20task%20is%20created%20as%20Project%20Task.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fjgvjg48436.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F87914iAA629215C0B19C4C%2Fimage-size%2Flarge%2Fis-moderation-mode%2Ftrue%3Fv%3D1.0%26amp%3Bpx%3D999%22%20border%3D%220%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20tasks%20is%20not%20editable%20in%20SharePoint%20Site%20until%20I%20disable%20the%20Enterprise%20Project%20Feature.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fjgvjg48436.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F87918i7D68FC19AB1D6E30%2Fimage-size%2Flarge%2Fis-moderation-mode%2Ftrue%3Fv%3D1.0%26amp%3Bpx%3D999%22%20border%3D%220%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20any%20feedback.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-862169%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOnline%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProject%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-870951%22%20slang%3D%22en-US%22%3ERe%3A%20Project%20Online%20Creates%20Project%20Tasks%20instead%20of%20SharePoint%20Tasks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-870951%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F315632%22%20target%3D%22_blank%22%3E%40hikmatune%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20seems%20like%20the%20default%20Project%20Online%20%22Create%20new%20project%22%20action%20creates%20a%20new%20Enterprise%20Project%2C%20my%20only%20suggestion%20would%20be%20to%20drop%20the%20default%20Project%20Online%20Create%20new%20project%20action%20and%20use%20a%20SharePoint%20HTTP%20action%20and%20use%20a%20REST%20query%20to%20create%20the%20new%20project.%3C%2FP%3E%0A%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-873607%22%20slang%3D%22en-US%22%3ERe%3A%20Project%20Online%20Creates%20Project%20Tasks%20instead%20of%20SharePoint%20Tasks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-873607%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F8793%22%20target%3D%22_blank%22%3E%40Paul%20Mather%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20the%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20mean%20using%26nbsp%3B_api%2FProjectServer%2FProjects%2FAdd%3F%3C%2FP%3E%3CP%3EI%20have%20done%20that%20and%20can%20only%20pass%20few%20parameters%20in%20the%20body%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%7B%0A%20%20%20%20'parameters'%3A%20%7B%0A%20%20%20%20%20%20'Name'%3A'Porject%20Name'%2C%0A%20%20%20%20%20%20'Start'%3A%20'2019-09-26'%2C%0A%20%20%20%20%20%20'Description'%3A%20'Created%20from%20PowerShell%20using%20REST%20API'%0A%20%20%20%20%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EStill%20same%20thing%2C%20what%20am%20I%20missing%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-879573%22%20slang%3D%22en-US%22%3ERe%3A%20Project%20Online%20Creates%20Project%20Tasks%20instead%20of%20SharePoint%20Tasks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-879573%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F315632%22%20target%3D%22_blank%22%3E%40hikmatune%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20pass%20in%20the%26nbsp%3BEnterpriseProjectTypeId%20as%20seen%20here%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpwmather.wordpress.com%2F2019%2F09%2F27%2Fcreating-new-projects-based-on-epts-in-office365-projectonline-using-microsoftflow-ppm-powerplatform-rest-msproject-projectmanagement%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpwmather.wordpress.com%2F2019%2F09%2F27%2Fcreating-new-projects-based-on-epts-in-office365-projectonline-using-microsoftflow-ppm-powerplatform-rest-msproject-projectmanagement%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20that%20helps%3C%2FP%3E%0A%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Default Enterprise Project Type is SharePoint Tasks List with Site Creation option set to "Allow users to choose".

 

I want to automate create SharePoint Tasks List project mimicking out of the box feature "SharePoint Task List" see screenshot below.

When a list item is created in another SharePoint site I want to create the project and SharePoint Tasks List.

 

 

However, it keeps activating the Enterprise Project Features and the task is created as Project Task. 

 

The tasks is not editable in SharePoint Site until I disable the Enterprise Project Feature.

 

 

Appreciate any feedback.

3 Replies
Highlighted

Hello @hikmatune 

It seems like the default Project Online "Create new project" action creates a new Enterprise Project, my only suggestion would be to drop the default Project Online Create new project action and use a SharePoint HTTP action and use a REST query to create the new project.

Paul

Highlighted

@Paul Mather  Thanks for the reply.

 

Do you mean using _api/ProjectServer/Projects/Add?

I have done that and can only pass few parameters in the body

 

{
    'parameters': {
      'Name':'Porject Name',
      'Start': '2019-09-26',
      'Description': 'Created from PowerShell using REST API'
    }
}

Still same thing, what am I missing? 

 

Highlighted