简体   繁体   中英

Tenant sign up fail : Cloud service Multi-tenant MVC application

I'm developping a multi-tenant MVC website. I have made already a costum azure website that could sign up multiple tenants Azure directories.

When I try make a multi-tenant cloud service with a WebRole, the sign up process of a new tenant fails with the message:

Access cannot be granted to this service because the service listing is not properly configured by the publisher. (ERROR CODE:1028)

I noticed that the replyUrl of the MVC TenantController for the service application was different (then for the azure website) and I tried to enable the SSL properly but with no succes.

Building a Multi-tenant Application with Windows Azure Active Directory (Single Sign-on, Graph access and Role based Authorization)

The solution that I tested was pure generated code from the Visual Studio 2013 'new project' wizard where I choose : Windows Azure Cloud Service / 1 WebRole / MVC ( Organizational Authentication , Multiple organizations, Single Sign On read directory data).

Does some one have a solution for this problem ? Thanks in Advance

Run your application on HTTPS with SSL. if SSL is not configured then it will trow an error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM