Cannot Create Custom Resource Properties for Resource Configuration
Hi all, I am trying to follow this article to customise our resource properties (http://technet.microsoft.com/en-us/library/bb124948(EXCHG.80).aspx) and I am getting an error when I try to commit the changes. The full script I am running is: $ResourceConfiguration = Get-ResourceConfig$ResourceConfiguration.ResourcePropertySchema.Add("Room/TV")$ResourceConfiguration.ResourcePropertySchema.Add("Room/VCR")$ResourceConfiguration.ResourcePropertySchema.Add("Room/Whiteboard")$ResourceConfiguration.ResourcePropertySchema.Add("Room/DVD")$ResourceConfiguration.ResourcePropertySchema.Add("Room/Projector")Set-ResourceConfig -Instance $ResourceConfiguration All is accepted fine, except for the Set-ResourceConfig line which returns the error: Set-ResourceConfig : Active Directory operation failed on domaincontroller.company. This error is not retriable. Additional information: The parameter is incorrect.Active directory response: 00000057: LdapErr: DSID-0C090A85, comment: Error in attribute conversion operation, data 0,veceAt line:1 char:19+ Set-ResourceConfig <<<< -Instance $ResourceConfiguration Can anyone shed any light on what this error means and how to resolve? Any suggestions on what component I should adjust the logging level to get some more info on this? I should also add that these settings used to be accessible for our mailboxes but they aren't available to add to any new mailboxes, nor can I edit any existing ones, which currently do have some of these vaules present.We are running Exchange 2007 SP1. Thanks in advance, Mick
April 14th, 2008 9:19am

Not sure whats the wrong with this one but, Can you try this one? Code Snippet Set-ResourceConfig -ResourcePropertySchema("Room/TV","Room/VCR","Room/Whiteboard","Room/DVD","Room/Projector") If you have any schema already then this will overwrite so also add already existing to this one.
Free Windows Admin Tool Kit Click here and download it now
April 14th, 2008 1:33pm

HI Amit, thanks for your response. Unfortunately, I am still getting the same error: [PS] C:\>Set-ResourceConfig -ResourcePropertySchema("Room/TV","Room/VCR","Room/Whiteboard","Room/DVD","Room/Projector")Set-ResourceConfig : Active Directory operation failed on domaincontroller.company. This error is not retriable. Additional information: The parameter is incorrect.Active directory response: 00000057: LdapErr: DSID-0C090A85, comment: Error inattribute conversion operation, data 0, veceAt line:1 char:19+ Set-ResourceConfig <<<< -ResourcePropertySchema("Room/TV","Room/VCR","Room/Whiteboard","Room/DVD","Room/Projector") I think I just need to increase logging to get some more idea on why its failing, but am not sure which component to modify. Any suggestions? When I run a get-resource config, I get the following results, which all look normal to me... [PS] C:\Documents and Settings\USER\Desktop>get-resourceconfig | fl Name : Resource SchemaResourcePropertySchema : {}AdminDisplayName :ExchangeVersion : 0.1 (8.0.535.0)DistinguishedName : CN=Resource Schema,CN=Global Settings,CN=Company,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=lncorp,DC=netIdentity : Resource SchemaGuid : dese9877-af5a-42af-9412-8e2336h2ce2ObjectCategory : domain.net/Configuration/Schema/ms-Exch-Resource-SchemaObjectClass : {top, msExchResourceSchema}WhenChanged : 11/02/2008 11:37:40 AMWhenCreated : 22/08/2006 11:02:43 PMOriginatingServer : DOMAINCONTROLLER.lncorp.netIsValid : True
April 15th, 2008 1:53am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics