When setting up my development environment I added only a 'Staging' Environment Purpose to my Topology type.
Now I like to update this Topology type and add 'Live' also as an Environment Purpose.
My current TopologyTypes looks like:
When I am trying to add the Live Environment Purpose with the following command:
Set-TtmCdTopologyType -Id IntranetStagingAndLive -EnvironmentPurposes Staging,Live
I get the following error:
Set-TtmCdTopologyType : Property 'EnvironmentPurposes' of the item of type 'CdTopologyTypeData' with id 'IntranetStagingAndLive' can not be updated, because item is used by item of type 'CdTopologyData' with id 'DevTopology'. At line:1 char:1 + Set-TtmCdTopologyType -Id IntranetStagingAndLive -EnvironmentPurposes Staging,Li ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Tridion.Topolog...logyTypeCommand:SetCdTopologyTypeCommand) [Set-TtmCdTopologyType], DataServiceException + FullyQualifiedErrorId : Tridion.TopologyManager.Automation.SetCdTopologyTypeCommand
To be sure I unpublished all content published to the Target Type and removed the Business Process Type from the publication.
The description of the command doesn't say anything about that adding an Environment Purpose isn't possible: