Unable to fill in Resource group as part of Custom properties in Powershell SDK
                    
                
                
                    
                        book
                        
Article ID: CTX461444
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                    
                
                    
                    
                        
                            
Description
                        
                        
                            When trying to automate Machine catalog creation using Citrix powershell, while trying to fill in the Custom properties for New-prov scheme, it fails with the error message, Cannot set or unset resource groups as part of the custom properties.

If resource group is not entered then there is no issues. 
                         
                     
                    
                    
                    
                    
                        
                            
                                
Resolution
                            
                            
                                The resourcegroups property in the custom properties doesn't support to update.
Citrix only support this property for New-ProvScheme, Set-ProvScheme is not allowed to change the resource groups.
Since the azure resources are already created within the original resource group, we don't support moving resources across Azure resource groups.
 
Problem Cause
Limitation
                            
                         
                        
                    
                    
                    
                    
                
                    
                        
                            Was this article helpful?
                        
                        
                            
                                thumb_up
                                Yes
                            
                            
                                thumb_down
                                No