I think this is a bug: 

ExtensionType = ExtensionName;

Because of this added line, New-AzureServiceRemoteDesktopExtensionConfig generates 'null' type, instead of "RDP" type.  If this line is removed, it works fine.