How to register new users for MVC4 website on Azure AD?

0 votes

I'm trying to use Azure AD Identity Provider for my MVC4 app and need to figure out how to implement a user registration functionality. I know that Graph API can be used for updating WAAD. However, from reading http://msdn.microsoft.com/en-us/library/windowsazure/dn151791.aspx I've got a sense that, in order to use Graph API, a user has to be authenticated through WAAD first. Only then will he receive a token to be used with Graph API. But what if I have an unregistered user who wants to register? How do I create an entry for him in WAAD? Can I somehow use the Service Principal to get the token, bypassing the user having to log in? How would I do that, if that's the case?

Jul 3, 2019 in Azure by sabby
• 4,370 points
1,276 views

1 answer to this question.

0 votes
The application holds the permissions to read/write to WAAD. If the application is registered in WAAD, and contains the necessary write permissions, then the app and query WAAD and add new users to the directory.
answered Jul 3, 2019 by Perry
• 17,100 points

Related Questions In Azure

0 votes
1 answer

How to set default Web page for a website on Microsoft Windows Azure?

This blog post should resolve your issue: http://blogs.msdn.com/b/cesardelatorre/archive/2010/07/22/how-to-set-a-default-page-to-a-windows-azure-web-role-app-silverlight-asp-net-etc.aspx Look ...READ MORE

answered Mar 27, 2019 in Azure by p
• 1,960 points
451 views
+1 vote
4 answers

How do Connect to Azure website via FTP?

First set up your FTP credentials are ...READ MORE

answered Oct 23, 2018 in Azure by abc
1,214 views
0 votes
1 answer

How to upload a file on to Azure Blob storage without writing a code?

You can find the below tools useful ...READ MORE

answered Apr 13, 2018 in Azure by club_seesharp
• 3,450 points
477 views
0 votes
2 answers

Which should i use for ASP.NET MVC Development: Windows Azure or Amazon EC2?

Both the cloud platforms have slightly varied ...READ MORE

answered Mar 6, 2019 in Azure by p
• 1,960 points

reshown Mar 6, 2019 by Vardhan 235 views
0 votes
1 answer

How to install Windows Azure Storage Emulator?

There may be an issue with the ...READ MORE

answered Mar 6, 2019 in Azure by p
• 1,960 points
997 views
0 votes
1 answer

Azure Storage Emulator shows error.

This blog might help with your query: http://blog.smarx.com/posts/windows-azure-storage-emulator-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process Also, ...READ MORE

answered Mar 15, 2019 in Azure by p
• 1,960 points
502 views
0 votes
1 answer

Friendly filename when downloading Azure blob.

Azure blobs can be downloaded in four ...READ MORE

answered Mar 15, 2019 in Azure by p
• 1,960 points
668 views
0 votes
1 answer

How do I upload a picture to Windows Azure Website?

Check out this example: @model List<string> ...READ MORE

answered Jun 27, 2019 in Azure by Perry
• 17,100 points
402 views
0 votes
1 answer

How to handle payload formats for both iOS and Android through the Azure Notification Hub?

I think your solution is feasible and ...READ MORE

answered Jul 8, 2019 in Azure by Perry
• 17,100 points
519 views