Hello @Serhan Genç,
Thank you for posting your query on Microsoft Q&A.
Based on your issue description, I understand that Embed codes have not been working the last few days on onedrive.com and while you try to check out these codes via the details pane in onedrive.com, you were getting this error AADSTS70011: Application with Identifier was not found in the directory.
Based on the error message what you are getting AADSTS70011: Application with Identifier was not found in the directory, basically this error comes under Microsoft Entra ID error.
I am providing you the Symptoms, Cause and Resolution for the above mentioned error which you are getting.
Symptoms
You receive error AADSTS70001
when trying to sign into an application that has been set up to use Microsoft Entra ID for identity management using SAML-based SSO.
Cause
The Issuer
attribute sent from the application to Microsoft Entra ID in the SAML request doesn’t match the Identifier value that's configured for the application in Microsoft Entra ID.
Resolution
Ensure that the Issuer
attribute in the SAML request matches the Identifier value configured in Microsoft Entra ID.
On the SAML-based SSO configuration page, in the Basic SAML configuration section, verify that the value in the Identifier textbox matches the value for the identifier value displayed in the error. If there's a trailing slash at the end of the url, it should be also included.
For additional details, please refer to the below document for your reference.
Error AADSTS70001 - Application with Identifier was not found in the directory. | Microsoft Learn
I hope this above information provided is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".