This error typically occurs when the same URLs do not match exactly in different areas of AD FS configuration. For example, the URL of the OnBase Web Server may be configured as https://my.server/AppNet/ in one place and https://my.server/AppNet in another.