Hi @Min Kyo ChungThank you for posting this in Microsoft Q&A.
The error message "Application with identifier http://domian.com/index.php/apps/user_saml/saml/metadata was not found in directory" indicates that the identifier you have configured for your Nextcloud application in Azure AD does not match the identifier that is being sent in the SAML request.
To resolve this issue, you can try the following steps:
- Double-check the identifier and reply URL that you have configured for your Nextcloud application in Azure AD. Make sure that they match the values that are being sent in the SAML request.
- Check if the identifier and reply URL are using the correct protocol (http or https). If your Nextcloud instance is using https, make sure that the identifier and reply URL are also using https.
- Verify that the SAML metadata URL for your Nextcloud instance is correct and accessible. You can try accessing the metadata URL directly in your browser to see if it returns the correct metadata.
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.