Apr 21 2021 01:27 PM
Is there away to retrieve the ForwardingSmtpAddress and DeliverToMailboxAndForward settings for a mailbox via the Graph API?
I'm building an application that aggregates information about a user from multiple sources, one of them being AzureAD/M365. We want to show a support engineer the forwarding information that is set on a user's mailbox, but it seems the only way to get this is via PowerShell, which means settings up a runspace and powershell remoting, which I'd rather not do, sense I'm using the graph API already for license information.
Apr 21 2021 11:15 PM
Apr 27 2021 12:36 PM
@VasilMichev But that isn't supported at this point either. With BinaryFormatter serialization prohibited in asp.net in .net 5, Running PowerShell commands is not supported.
So basically there is no officially supported way for me to build a webapp using the current .net 5 that can read the forwarding address out of an O365 mailbox?