Can not add Dynamics CRM to Registered Active Directory Application - asp.net-web-api

I am trying to create a SPA that uses Dynamics CRM Web API. While registering my Application in Azure Active Directory I can not find Dynamics CRM Online in the permissions to other applications window.
Do I need to upgrade my subscription or am I doing something wrong?

It's easiest if your azure account uses the same login that has access to CRM. Then you will see CRM as an application option.
If the Azure account you're using isn't the same one that you use to login to CRM, you'll need to connect the two. In order to do this, though, the O365 account you use for CRM needs to be a global admin in O365. This page has instructions.
To associate an existing Azure subscription with your Office 365
account
Log on to the Microsoft Azure Management portal with your existing
Azure credentials (for example, your Microsoft ID such as
user#live.com).
Select the Active Directory node, then select the
Directory tab and, at the bottom of the screen, select New.
On the New
menu, select Active Directory > Directory > Custom Create.
In Add directory, in the Directory drop-down box, select Use existing
directory. Check I am ready to be signed out, and then select the
check mark in the lower-right corner. This brings you back to the
Azure Management Portal.
Log in with your Office 365 account
information. You will be prompted whether to use your directory with
Azure.
Important To associate your Office 365 account with Azure AD,
you'll need an Office 365 business account with global administrator
privileges.
Select continue, and then Sign out now.
Close the browser and reopen the portal. Otherwise, you will get an access denied error.
Log on again with your existing Azure credentials (for example, your
Microsoft ID such as user#live.com). Navigate to the Active Directory
node and, under Directory, you should now see your Office 365 account
listed.
If your CRM O365 doesn't have global admin privileges, I would recommend just creating an azure account with the same account you use to connect to CRM According to the SDK, "the account is free for application registration and your credit card won’t be charged if you only follow the procedures called out in this topic to register one or more apps."

Related

Multi-tenant issue in Microsoft Graph

Currently, I developing Microsoft ChatBot that needs login via Microsoft Graph.
After I log in the error display as below.
When you registered your app, you chose one of three supported account types:
Accounts in this organizational directory only (i.e. one Azure AD tenant only)
Accounts in any organizational directory (i.e. any Azure AD tenant)
Accounts in any organizational directory and personal Microsoft accounts (i.e. any Azure AD tenant and any personal Microsoft account)
If you chose the first option, your app is not considered "multi-tenant", and you cannot use the "common" endpoint, as the error message indicates. You have two options here:
If your application is to be used by users from multiple organizations, change the intended audience to "Accounts in any organizational directory" (Azure portal > Azure Active Directory > App registrations > Authentication).
If your application is only intended to be used by one organization, then update your code to use the tenant-specific endpoint (i.e. https://login.microsoftonline.com/{tenant-id}/..., instead of https://login.microsoftonline.com/common/...).

Visual Studio: multiple accounts for Azure and license

For security reasons, we decided to create separate accounts for our Azure deployments.
Therefore, some users have an email account that holds Visual Studio license, and a separate account that has privileges on Azure subscriptions and no email address.
We use ADFS federation to log in to Azure. I tried to add the two accounts separately, but each time I validate authentication, it only displays my main (email) account.
I know that to log in to the Azure portal with my other account, I have to use Firefox.
Is there any way to do that with Visual Studio?
Thanks

MS Dynamics CRM 2013 Installation issue

While trying to install MS CRM on one of the VM, we are getting the error "Unable to browse for active directory objects" while "Select the Organization Unit" step. We discussed this with the client to give relevant permissions for Active Directory but client doesn't want to install CRM tied up with AD. Is there an option to install MS CRM with separate users rather than connecting with AD ?
After detailed RnD and discussion with consultants, following are the options we have:
Option 1:
Make a new domain in the AD
Configure a new root OU
Create a user having domain and AD admin rights
Option 2:
Create a network admin user for both instances (db and app)
Complete installation with an admin person at client who can use the
admin user for CRM installation
The best case would be to get the Domain admin user but it's not that easy to get.
Unfortunately you would not be able to install CRM without using AD because of Microsoft's requirements to installation of CRM.

How to add a user to a group in SQL Server Management Studio?

I want to add the 'NT AUTHORITY\NETWORK SERVICE'user to the group PrivUserGroup. I can see both of them in the logons folder in SQL Server Management Studio. But i can't find how to add this user to the group.
(I need this to enable the a dynamics crm user to run reports in crm 2011)
The NETWORK SERVICE account is actually a Computer Account in Active Directory, named after the server. Search for the name of the server instead of a user account.
You'll probably need to restart the web server as well.

Microsoft CRM could not log you on to the system. Make sure your user record

"Microsoft CRM could not log you on to the system. Make sure your user record is enabled and that you have been assigned at least one security role. For more information, contact your system administrator."
When I RDP into the server and try Microsoft CRM Workflow Manager/Monitor with http or https connectivity, it doesn't work. "The specified Microsoft CRM server is not responding. This might happen if it is currently unavaliable, it is not a Microsoft CRM server, or you are not a valid user. Contact your sys-admin."
This is a Microsoft CRM v3.0 / Microsoft SQL server 2005 box, Active directory is on a seperate box..
When I right click Microsoft CRM Worlkflow Service, properties, log on: it shows "crmtestuser" and a password. I did not RDP or try logging in as that crmtestuser, but I am Admin... Could this be a clue?
What can I try?
Does the user that you're logging onto the machine have an account in CRM? If so, does that account have any security roles assigned to it?
Also, in CRM 3.0, there are special permissions given to the user that installed CRM. If you can't give permissions to the a user because you can access CRM, try using the same user that installed CRM, and with that user logged in, give Administrator permissions to other users.

Resources