Logo

Welcome:

Welcome to Studer Consulting Group. At Studer Consulting Group we help companies solve problems through software. Whether you want a fully custom built application, implementation of Microsoft Dynamics 365 or an integration built between your current systems. We can handle it. With years of experience in the software development and Microsoft Dynamics 365, we can help your business grow.

Services We Offer:

(We also provide sub-contracting services in these areas.)

Microsoft Dynamics 365


  • Functional Consulting
  • Implementation
  • Plugin Development
  • Customization
  • Extending with Micrsoft Azure
  • CRM Portals
  • SSRS Reporting
  • Client-side Scripting (JavaScript)

System Integration \ Migration


  • API Development
  • Custom Coded
  • Scribe Online
  • KingswaySoft
  • SSIS

Software Development


  • .NET Core
  • ASP.NET Core
  • .NET
  • C#
  • JavaScript
  • Java
  • HTML
  • CSS
  • C\C++
  • SQL
  • XAML
  • Xamarin

Latest Blog Post:

UPDATED: Setup Non-Interactive User with Non-Expiring Password

4/4/2019 2:47:00 PM

A while ago, I wrote a blog post on setting up a non-interactive user with a non-expiring password.  Since writing that post, the process has changes and I couldn't find much documentation on the process.  The part of setting up the non-interactive user hasn't changed:

Setup Non-Interactive User:

  1. Create a user in the Office 365 admin center.  Be sure to assign a Dynamics 365 (online) license to the account.
  2. Go to Dynamics 365 (online).
  3. Go to Settings > Security.
  4. Choose Users > Enabled Users, and then click a user’s full name.
  5. In the user form, scroll down under Administration to the Client Access License (CAL) Information section and select Non-interactive for Access Mode.  You then need to remove the Dynamics 365 (online) license from the account.
  6. Go to the Office 365 admin center.
  7. Click Users > Active Users.
  8. Choose the non-interactive user account and under Product licenses, click Edit.
  9. Turn off the Dynamics 365 (online) license, and then click Save > Close multiple times.
  10. Go back to Dynamics 365 (online) and confirm that the non-interactive user account Access Mode is still set for Non-interactive.
  11. In CRM assign a role to the user account.

But, the process for setting up a non-expiring password has:  To make this easy I created a small PowerShell Script.  The script is below.  Simply change the the part for the $UserEmail to the account you want to set.  What the script does is connect the user to Azure, you will need to be a global admin.  Teh checks the password policy for the user.  Then it updates the policy and shows you that it was changed.  Here is a link to the Microsoft article that I referenced when doing this.  I do want to point out that you should check the warning at the bottom of that article.

 $UserEMail = "<Replace with e-mail>"  
   
 Connect-AzureAD  
   
 Get-AzureADUser -ObjectId $UserEMail | Select-Object UserprincipalName,@{  
   N="PasswordNeverExpires";E={$_.PasswordPolicies -contains "DisablePasswordExpiration"}  
  }  
   
  Set-AzureADUser -ObjectId $UserEMail -PasswordPolicies DisablePasswordExpiration  
   
  Get-AzureADUser -ObjectId $UserEMail | Select-Object UserprincipalName,@{  
   N="PasswordNeverExpires";E={$_.PasswordPolicies -contains "DisablePasswordExpiration"}  
  }  

Contact Us:

(All fields are required.)