Getting Error while deploying the autohosted event receiver in office 365 ( ErrorDetail: There was a problem registering the app principal.):

Hi,
I was successfully able to deploy my auto hosted event receiver in office 365 and it was working. I did some changes on code and try to deploy it again but now it through same error always wheneven i deploy it.
 CorrelationId: 2ef8a311-f1cf-4ee7-be1a-1125c5231e1c
2>        ErrorDetail: There was a problem registering the app principal.
2>        ErrorType: Configuration
2>        ErrorTypeName: Configuration
2>        ExceptionMessage: An error occurred while attempting to execute a principal management operation.  Please contact your administrator.
2>        Source: RemoteWebSite
2>        SourceName: Remote Web Site Deployment
2>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
Please help me on this. Not sure what this error is indicating.
Regards:
Sanjay Joshi

Hi All,
I have tried same thing in different different environment.  Different environment mean different azure account and office 365 account. But still the issue persists.
i feel some issue in my office network or in servers. Because couple of days back same thing was working in my private virtual machine in my private network instead of office.
For me i observe a basic problem in this network.
The pop up to provide trust to the app (that come with title "Grant permission to app") comes while i deploy the solution and gets close automatically without clicking trust.
Might be this could be the reason for me ?. because closing of pop up is not providing authentication to my app.
This happens in every server in my office network.
Any suggestions on that. Thanks in advance.
Regards:
Sanjay Joshi

Similar Messages

Maybe you are looking for