locked
Table Storage PartitionKey naming convention RRS feed

  • Question

  • What are the naming rules for partition keys in table storage? I sometimes end up with error 400 (e.g. when using "\" in the partition key). Are there other cases?
    Wednesday, July 31, 2013 1:26 PM

Answers

  • Based on the documentation here: http://msdn.microsoft.com/en-us/library/windowsazure/dd179338.aspx (look under "Characters Disallowed in Key Fields" section), following characters are not allowed:

    • The forward slash (/) character
    • The backslash (\) character
    • The number sign (#) character
    • The question mark (?) character
    • Control characters from U+0000 to U+001F, including: The horizontal tab (\t) character, The linefeed (\n) character, The carriage return (\r) character, Control characters from U+007F to U+009F

    Hope this helps.

    • Marked as answer by Wibi Thursday, August 1, 2013 5:48 AM
    Wednesday, July 31, 2013 2:39 PM