Good morning, I decided to create a question regarding OrganizationFromTenantGuidNotFound since previous questions have a different implementation. I'm working with Ruby On Rails, and I implemented the code from this repository: https://github.com/microsoftgraph/msgraph-sample-rubyrailsapp (The link is found within the dashboard of entraid/App Registrations/my application/Quickstart). I'm attaching screenshots where:
Screen 1: It's the overview tab of my application. Here you can see the tenant_id: b0e37b8c-193c-40e2-bb1c-example.
Screen 2: I created a client secret.
Screen 3: I configured the URL for the callback, in this case, on my localhost port 8080.
Screen 4: I have added sufficient permissions.
Screen 5: I added a user to the application; this user has a Microsoft Entra ID Governance license.
Screen 6: The configuration of the Rails application with: a) the client id: a5eab913-01ad-4bdc-be1f-example b) secret value: MBr8Q~OUAmOjc0HzZjqWCNujCbYP5oexample
Screen 7: I added a button to redirect me to the Microsoft login form; here's the form.
Screen 8: The user logs in successfully.
Screen 9: The error occurs when making the callback.
Screen 10: The tenant shown: b0e37b8c-193c-40e2-bb1c-6bexample is the one displayed in the overview tab.
I've explored numerous possible solutions but haven't been able to make the OrganizationFromTenantGuidNotFound error disappear. Can you help me with any suggestions?
Thank you.