Hi @kanupriya,
Based on your description, I suggest that you can try the following format of commands in the Exchange Online Management Shell to get the information you want:
Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission | select identity,user,accessrights | where { ($_.User -like '@') }