Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

The account does not have permission to impersonate the requested user

$
0
0

I get a runtime error trying to impresonate a user - code below

  Service = New ExchangeService()

        Service.Url = New Uri(ApplicationItems.ExchangeURL)
        Service.Credentials = New NetworkCredential(username, password)
        Service.ImpersonatedUserId = New ImpersonatedUserId(ConnectingIdType.SmtpAddress, emailAddress)


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>