Hi @Rajesh Swarnkar ,
there is no dedicated information about the max length of an Azure ResourceID I am aware of.
But with some math it's possible to calculate the max length:
Subscription ID is always 36
ResourceGroupName: max length 90 (valid resource group name)
ResourceProviderName: max length 64 (longest ResourceProviderName is 45 but assuming 64 as max length (Resource providers))
ResourceType: max length around 256 (no official information found)
ResourceName: max length 512 (Naming rules and restrictions for Azure resources)
Special Characters (/
): 8
In summary the max length would be "966".
Please be aware this is no official information and contains assumptions!
The Resource ID is an URI in my opinion, because a URN will start with urn:
. (Uniform Resource Identifier)
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards Andreas Baumgarten