Dynamics CRM Authentication Without Active Directory - microsoft-dynamics

We have employees that work in our company but not in the central office. We installed Dynamics CRM 2016 in the central office. Some users do not exist in the central office active directory. How can we define these users to authenticate and work with CRM?

There is no option to add a user that not exists in AD or trusted AD. I assume that these users who doesn't exist in central office AD exists in another AD. If yes then it is matter of configuring proper trusts between domains.

Related

Django Microsoft Graph Authentication

I'd like users to be able to login to my Django app using their Microsoft personal, work or school account.
I have no interest in any profile or other data from the user's account. I just want authentication.
I've been playing with django-allauth and and Azure portal and have successfully set things up so I can log in with my personal outlook.com account. I've set the AD tenants up to allow for personal and institutional accounts.
I've successfully served the .wellknown json and was able to verify the app in Azure.
I run into trouble when I try to log in with a Microsoft 365 work or school account.
The consent form shows the app as "unverified" and indicates that the app wants profile information and to store data.
I ended up in a rabbit hole of Microsoft AD documentation about MPN IDs and such.
Before I go further I want to know if I what I want to do is even possible.
Keeping in mind that I'm not interested in profile information, can I achieve authentication in Django with a users Microsoft Work or School account?
If so, what do I have to do?

PowerBI Embedded without AD using data from AAS

We have the below architecture to be built. The web application is not integrated with AD and has a its own user auth (User and Tenant mapping table). We need embed the PowerBI reports and use the app user table for RLS.
The architecture is as below. Please advise
https://ibb.co/DDWG6Rg
Note: Azure Analysis Services uses Azure Active Directory (Azure AD) for identity management and user authentication. Any user creating, managing, or connecting to an Azure Analysis Services server must have a valid user identity in an Azure AD tenant in the same subscription.
For more details, refer "Azure Analysis Services Authentication".
Power BI Embedded does support using RLS against AAS using the CUSTOMDATA() function.
For more details, refer similar ask in PowerBI forum: https://community.powerbi.com/t5/Service/Azure-Analysis-Services-RLS-and-Embedding/td-p/239127
Hope this helps.

Enable SSO for application on AWS by integrating with on-premise AD

For a reporting application deployed on AWS it is required to enable SSO for the users to access it -
The users are to access the application from their office PCs only within the company network.
The application endpoints are protected by an API gateway to only allow access from internal company network.
Once the user clicks on the URL for the reporting application, the app should authenticate the logged in user with the enterprise AD to ensure that the logged in user is a valid one and that they belong to the correct AD groups that are allowed access to the application.
If the authentication and authorization check is passed then the application should allow access to the user or else prompt up a login page to enter the credentials manually.
Can you advise what would be the best approach to set this up ? We have ADFS deployed on our company infrastructure (not sure of the version) so was wondering if we could use that or instead rely on Windows Kerberos authentication to get tokens to allow the user access.
What would be a better approach or more importantly what would be faster to setup. Completely new to SSO and ADFS in general so appreciate your responses.
Thanks!
Raunak
I would recommend you to use ADFS as it is much easier to integrate web apps with ADFS compare to Kerberos.
Kerberos might be tricky. I see you mentioned the reporting app will only be used from company's internal network, but you may still get into the troubles with Kerberos because it requires certain browser setup on the end user machines. On Windows you will have to ensure some IE settings:
IE -> Internet Options -> Security -> Local intranet -> Custom Level -> Make sure you have "Automatic logon only in Intranet zone" is selected.
IE -> Internet Options > Advanced -> make sure "Enable Integrated Windows Authentication" is on
It is very likely that you will also need to add your reporting application URL to the list of intranet sites and trusted sites on each user's PC (in case you use a custom domain name for your app, i.e. not an local server name in your domain)
Other browsers than IE may need a different setup, you can read more details here
I believe it is also a bit more complicated to work with the AD groups as you can only get a user name from a Kerberos token. Then you will have to make an additional call directly to AD to find user's groups. With ADFS you can get groups right from the token (as claims).
Here is a good manual on how to integrate your web app with ADFS: https://auth0.com/docs/connections/enterprise/adfs

Onedrive for Business API strategy confusion (Office 365, sharepoint, Skydrive Pro)

I am writing some Windows desktop software in C# that can access Microsoft Onedrive for Business. This software is for anyone to use to access their own OneDrive for Business account.
Looking at the latest online documentation it seems that Azure Active Directory is needed to access the API but i have had some success without using Azure using a method similar to this (although I do have some issues):
http://jomit.blogspot.co.uk/2013/03/authentication-and-authorization-with.html
My question is do I have to use Azure AD or is the above method still expected to work?
If I have to use Azure then who needs the Azure account, is it me or is it each user who will use my software?
I have downloaded other third party software that accesses my Onedrive for Business account and I did not have to do anything with Azure. I want my software to be as simple as possible for users to connect to their Onedrive for Business account.
If it is hosted in SP, then you do not need to do anything.
If it is hosted externally such as o365 apps, you need to register this app in Azure AD. This applies for office 365 apps or even apps that are hosted somewhere. Azure AD is important to authorize apps to use office 365, office 365 apps can be hosted anywhere.

Can Sitecore's LDAP adapter be used on Sitecore 6.x?

We've been looking into ways to get our client's Sitecore (6.4.1 rev. 110720) hooked up to their Active Directory setup. The first thing we came across was the LDAP module for Sitecore. The client likes the "Live Validation Mode" of the LDAP connector, so we started looking into that. However, it became quickly clear that SDN shows that they haven't tested the LDAP module with Sitecore 6.x.
Then we found the AD module, which is clearly made for Sitecore 6.x. However, it seems to always operate in what the LDAP module documentation called "Mixed Mode" (that is, a robust 2-way sync of users and roles).
I have two questions. Does the LDAP module work on Sitecore 6.x? If not, is there a way to configure the AD module to only sync roles/groups?
The LDAP module is the predecessor of the AD module and it doesn't work for Sitecore 6.x. Sitecore 6.x security is totally based on the ASP.NET security model, and this is what differs it from LDAP module completely.
The AD module is most likely able to satisfy your needs. If you only want the roles from AD in your Sitecore solution, then you should just plug in the role provider, and do not plug in the membership and profile providers. You might also want to enable RolesInRoles membership feature, because you'll most likely want to make your AD roles members of the standard Sitecore security roles. The RolesInRoles can do this for you.
It's all in the AD module documentation. If you're looking for the AD integration for your Sitecore solution, the AD module is the way to go.