O365 SAML Not pulling username correctly for guest users

I’m testing out using my Azure AD environment for the identity manager for my Nextcloud instance. Users that were created locally on the Azure instance pull in the email and username fine; Users that were invited as guests to my AD so they can use their personal Microsoft account to log in pull a very funky username and I’m not sure how to fix it.

My “local” Azure AD user imports as username@ad.contoso.com which is what I want
The guest user imports as email_hotmail.com#EXT#@contoso.onmicrosoft.com

Any edit I try to make to the user (or delete the user) is followed by this error “An error occured during the request. Unable to proceed”