Hi,
We are migrate our email listenere email from on-premise pop3 to a Sharedmailbox in 0365.
We have created a App registration following instruction from
Configuration Editor Utility Guide.pdf: 14 Appendix F: Configure Email Listener in Azure Active Directory
But after reconfigure the maillistener in Configuration editor to:

It gives the following error:
ReceiveEmails( )
IEmailUtilityGraph.ReceiveEmailsAsync2() failed.
Error message: Code: ErrorAccessDenied
Message: Access is denied. Check credentials and try again.
ClientRequestId: 6a172cf1-7ee8-4e40-95b8-1845f34e4d14
And if we check App Registraion, the Service Principal is login correctly.

It is a Sharedmailbox in o365, that means it does not has a userid and password., but because of App registation it should not be needed.
So can it be a sharedmailbox?
Thanks Robin.