locked
Impersonation RRS feed

  • Question

  • Hi all,

    My developer is writing some code to interact with Exchaneg Calendars.  He has asked me to run the following command:

    New-ManagementRoleAssignment –Name:CALDEV –Role:ApplicationImpersonation –User:serviceAccount as per technet article.

    I'm getting the error, couldn't find a user with the identity "serviceAccount"

    When I use administrator it works but his code doesn't.

    Any ideas?

    TIA

    Tuesday, November 8, 2011 11:32 AM

Answers

  • No - there is no such thing as a Service Account in Exchange. The administrator account shouldn't be used either.

    You should create an account specific for the task and then grant that account the required permissions.

    Simon.


    Simon Butler, Exchange MVP
    Blog | Exchange Resources | In the UK? Hire Me.
    • Proposed as answer by emma.yoyo Thursday, November 10, 2011 5:50 AM
    • Marked as answer by emma.yoyo Monday, November 14, 2011 1:53 AM
    Tuesday, November 8, 2011 1:40 PM

All replies

  • Do you have an account called "ServiceAccount"? Is it mail enabled?

    Simon.


    Simon Butler, Exchange MVP
    Blog | Exchange Resources | In the UK? Hire Me.
    Tuesday, November 8, 2011 12:27 PM
  • No, I presumed this would be the Exchange Service account that will allow access to the calendars.... what should I use?  Administrator doesn't work.

    TIA

    Tuesday, November 8, 2011 12:34 PM
  • No - there is no such thing as a Service Account in Exchange. The administrator account shouldn't be used either.

    You should create an account specific for the task and then grant that account the required permissions.

    Simon.


    Simon Butler, Exchange MVP
    Blog | Exchange Resources | In the UK? Hire Me.
    • Proposed as answer by emma.yoyo Thursday, November 10, 2011 5:50 AM
    • Marked as answer by emma.yoyo Monday, November 14, 2011 1:53 AM
    Tuesday, November 8, 2011 1:40 PM
  • Hi BDi,

    Any updates?

    Frank Wang

    • Proposed as answer by emma.yoyo Thursday, November 10, 2011 5:50 AM
    • Unproposed as answer by emma.yoyo Thursday, November 10, 2011 5:50 AM
    Thursday, November 10, 2011 5:49 AM