Hello Venkatesh Naik, yes, the maximum allowed length for both the Reply URL and Logout URL of Entra ID is 256 characters. This limit is in place to ensure compatibility and security within the security. This 256 character limit is a common constraint in many systems due to historical and technical reasons. It balances the need for sufficiently long URLs to accommodate various parameters and paths while maintaining efficient processing and storage. Longer URLs can lead to issues with budder overflows and increased complexity in handling and validating the URLs. See this article which mentions the 256 character limit - https://learn.microsoft.com/en-us/entra/identity-platform/reply-url#maximum-number-of-redirect-uris-and-uri-length
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.