User Profile
PatrickGrebe
Copper Contributor
Joined Jan 17, 2022
User Widgets
Recent Discussions
Re: Add Teams group to Project for the Web with Power Automate
PhilippS1Hello, we have never tried it via Power Automate, so I cannot assist you further here. Unfortunately, I don't have the time to reproduce the whole thing. Perhaps an Unbound Action might help in this case.3.8KViews1like0CommentsRe: Add Teams group to Project for the Web with Power Automate
SpyrosM1980 Hi, the whole thing works smoothly for us as I described above. (just tested) We create the Office365 group via LogicApp. Then we wait about 2 minutes before we create the team in Dynamics and connect it to the Office365 group. (via Azure Function) It takes between 15-60 minutes until the connection is displayed correctly in P4W.5.6KViews2likes2CommentsRe: Add Teams group to Project for the Web with Power Automate
Sounds good. We currently do it like this: 1. Create a Microsoft 365 Group (including a Microsoft Team) 2. Create a new record in the "team(s)" entity (connected to the AAD group created in step 1) (https://XXX.crm4.dynamics.com/api/data/v9.1/teams) . 3. Connect the role (https://XX.crm4.dynamics.com/api/data/v9.1/roles) "Project Team Member" to the team created in step 2. Also see my code from the previous answer. azureactivedirectoryobjectid equals to the group id created in step 1.6.2KViews1like13CommentsRe: Add Teams group to Project for the Web with Power Automate
I haven't tested this with a flow. However, the project creation should take place via an unbound action and the API "msdyn_CreateProjectV1". We do not update the ownerid, but maintain it directly when it is created. Here you can then set the "ownerid" directly to the team. As already mentioned, it takes 15-30 minutes before the connection is shown in P4W. Important: If the team was newly created, a role must be added to it.6.3KViews0likes15CommentsRe: Create Project via msdyn_CreateProjectV1 and assign an microsoft 365 group
We have now solved the whole thing using an Azure Function (within a Logic App) and corresponding C# code. We create a team and link it to an AAD group. The team is then assigned the appropriate security role. (https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/org-service/sample-assign-record-new-owner?view=op-9-1) var projectteam = new Entity("team", Guid.NewGuid()); projectteam["name"] = officeGroupName; projectteam["businessunitid"] = new EntityReference("businessunit",Guid.Parse("GUID_BUSINESSUNIT_HERE")); projectteam["azureactivedirectoryobjectid"] = officeGroupId; projectteam["teamtype"] = 3; projectteam["membershiptype"] = 0; projectteam.Id = crmServiceClient.Create(projectteam); // Add the role to the team. crmServiceClient.Associate( "team", projectteam.Id, new Relationship("teamroles_association"), new EntityReferenceCollection() { new EntityReference("role", Guid.Parse("SEC-ROLE-GUID-HERE")) }); We then create the project with the API "msdyn_CreateProjectV1". Here we then set the "ownerid" to the ID of the created team. project["ownerid"] = new EntityReference("team", Guid.Parse(projectteam.Id.ToString())); It takes some time until the connection is shown in P4W.1.9KViews0likes2CommentsRe: Add Teams group to Project for the Web with Power Automate
We have now solved the whole thing using an Azure Function (within a Logic App) and corresponding C# code. We create a team and link it to an AAD group. The team is then assigned the appropriate security role. (https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/org-service/sample-assign-record-new-owner?view=op-9-1) var projectteam = new Entity("team", Guid.NewGuid()); projectteam["name"] = officeGroupName; projectteam["businessunitid"] = new EntityReference("businessunit",Guid.Parse("GUID_BUSINESSUNIT_HERE")); projectteam["azureactivedirectoryobjectid"] = officeGroupId; projectteam["teamtype"] = 3; projectteam["membershiptype"] = 0; projectteam.Id = crmServiceClient.Create(projectteam); // Add the role to the team. crmServiceClient.Associate( "team", projectteam.Id, new Relationship("teamroles_association"), new EntityReferenceCollection() { new EntityReference("role", Guid.Parse("SEC-ROLE-GUID-HERE")) }); We then create the project with the API "msdyn_CreateProjectV1". Here we then set the "ownerid" to the ID of the created team. project["ownerid"] = new EntityReference("team", Guid.Parse(projectteam.Id.ToString())); It takes some time until the connection is shown in P4W.6.2KViews1like17CommentsRe: Add Teams group to Project for the Web with Power Automate
elmirt We are in the same situation. If you do this via the web interface, the "ownerid" and "owningteam" values are updated in the "msdyn_projects" entity. The AAD group is then connected to a team (entity teams). If I do the whole thing via HTTP-PATCH, the attributes are also set accordingly, but the group is still not displayed as connected in the web interface.6.3KViews0likes0CommentsCreate Project via msdyn_CreateProjectV1 and assign an microsoft 365 group
Hello, in our environment we are creating projects in P4W via the msdyn_CreateProjectV1 api with an azure function. This is working fine. Unfortunately we cannot find a solution to connect a microsoft 365 group with the created project. If you do it in the webinterface it creates a post request against https://oneproject-prod-torus-neu-000.northeurope.cloudapp.azure.com/pss/api/v1.0/projects(msxrm_ORGNAME.crm4.dynamics.com_PROJECTID)/shareProject We've recreated that HTTP-POST in the azure function, and it also returns a success, but the group isn't assigned. Is there any other possibility/API? 🙂2.1KViews0likes3CommentsRe: Project for the web: Incomplete notes after MPP import
We never really used Project Desktop. We currently only use an MPP as a base to create new projects in Project for the web via Logic App. Here we noticed during the import that the notes are cut off at the first line feed as you say. If this limitation existed since day one, a fix is unlikely I think, unfortunately.1.2KViews0likes1CommentProject for the web: Incomplete notes after MPP import
Hello, when we import an exported project (MPP file) with notes on each task into Project for the web, the notes are incomplete. Note in Project Desktop: Test Note 1 Test Note 2 After importing into Project for the web: Test Note 1... Since we use notes in a relatively large number of projects, this is very annoying. Are you aware of this problem or do you have any suggestions for a solution?Solved1.3KViews0likes3Comments
Recent Blog Articles
No content to show