CRMOnce: AdxStudio(Nao's) Portals online training & course content

Subject : CRM 2016 AdxStudio(Nao's) Portals Training 

AdxStudio Course Content

Module 1:  Introduction

1. Portals Overview & CRM Integration
2. Installation and Configuration
3. Content Publishing

Module 2: Styling & Portal User Configuration

 Portal Theming: 
How to use the included front-side framework to brand and theme your portal with minimum development time, while maintaining a slick, responsive layout

Liquid Templating: 
How to use the included Liquid Templating language to create powerful web templates and radically customize your portal - all without any code changes.

Registration & Invitations: 
In-depth look at configuration of out-of-the-box registration modes and invitation model

Authentication Options: 
A discussion of the OOB options that can be used to configure Authentication.

Content Authorization: 
How to assign rights and permissions to secure content and allow front-side editing.

Module 3: Entity Forms, Lists & Permissions

 Entity Forms: 
How to render Forms on the Portal for arbitrary CRM entities quickly and easily by using the Out-of-the-Box Entity Form feature

Entity Lists: 
How to render CRM Views as Lists on the Portal using the incredible Entity List feature. We'll also deep-dive into Advanced Entity List options including Map view, Calendar view, oData feeds, custom actions, and Entity List Templating.

Entity Permissions: 
How to assign rights and permissions to arbitrary CRM entities, using the Adxstudio Portals Security Model

Module 4 : Developer Quick Start

 Web Forms: 
How to create complex and powerful multi-step wizards and processes on your portal, via the powerful Adxstudio web forms feature.

Portal Structure: 
Explanation of Master Portal Codebase, its OOB features and structure.

 Developer Best Practices: 
How to go about extending the Master Portal Web project

 Security

ADX Studio extensions (ASP.net programming)

Ads & Polls


Azure / IIS Deployment

Deposit 1 Rupee to Indian Army Account and Save our Lifes.


Subject:  Deposit at least 1 Rupee to Indian Army Account and Save our Lifes.

If you donate 1 rupee in a month Indian Army becomes top place.

We have deposited the money and we are requesting. if you are a Indian, please deposit at least one rupee in the below Army account.

Account Name: Army Welfare Fund Battle Casualties
Account Number : 90552010165915
IFSC Code: SYNB0009055




Executing the Azure Active Directory Module (MSOL Commands) Power Shell commands from the C#


Executing the Azure Active Directory Power Shell commands from the C#.

What is a use of the Azure PowerShell Module?

Azure Active Directory Module (ADPS) for Windows PowerShell cmdlets for Azure AD administrative tasks such as user management, domain management and for configuring single sign-on.

Executing the Azure PowerShell from the C# code:

Most of the Azure administrative work performed through the PowerShell jobs only and some scenarios we have to execute PowerShell commands in C#.
            I am going to explain how to execute Azure PowerShell from the C#.
To start writing the code the first step is we need to install Azure PowerShell Module as mentioned below.

Install the Azure AD Module

The Azure AD Module is supported on the following Windows operating systems with the default version of Microsoft .NET Framework and Windows PowerShell: Windows 8.1, Windows 8, Windows 7, Windows Server 2012 R2, Windows Server 2012, or Windows Server 2008 R2.
First install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW from the Microsoft Download Center. Then install the Azure Active Directory Module for Windows PowerShell (64-bit version), and click Run to run the installer package.

Scenario: Get the Security Group Name from Azure Active Directory by key word.


Code for the Console Application.

                                     Download Code 
using System;
using System.Collections.ObjectModel;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Security;


namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {

            GetSecurityGroup();
        }

        public static void GetSecurityGroup()
        {
            try
            {
               
                // Create Initial Session State for runspace.
                InitialSessionState initialSession = InitialSessionState.CreateDefault();
                initialSession.ImportPSModule(new[] { "MSOnline" });
                // Assign username to variable.
                UserCredential.UserName = "UserName"; // Pass Your AD User Name

                string password = "Your Password"; //  Pass your Password
                // Create and assign secure password string.
                SecureString securePass = new SecureString();
                foreach (char secureChar in password)
                {
                    securePass.AppendChar(secureChar);
                }

                UserCredential.Password = securePass;
                // Create credential object.
                PSCredential credential = new PSCredential(UserCredential.UserName, UserCredential.Password);
                // Create command to connect office 365.
                Command connectCommand = new Command("Connect-MsolService");
                connectCommand.Parameters.Add((new CommandParameter("Credential", credential)));
                // Create command to get office 365 user.
                Command getGroupCommand = new Command("Get-MsolGroup");
                getGroupCommand.Parameters.Add((new CommandParameter("SearchString", "Pass your security group name")));
                              
                using (Runspace psRunSpace = RunspaceFactory.CreateRunspace(initialSession))
                {
                    // Open runspace.
                    psRunSpace.Open();
                    //Iterate through each command and executes it.
                    foreach (var com in new Command[] { connectCommand, getGroupCommand})
                    {
                        var pipe = psRunSpace.CreatePipeline();
                        pipe.Commands.Add(com);
                        // Execute command and generate results and errors (if any).
                        Collection<PSObject> results = pipe.Invoke();
                        var error = pipe.Error.ReadToEnd();

                        if (error.Count > 0)
                        {
                            return;
                        }
                        if(results.Count>0)
                        {
                         Microsoft.Online.Administration.Group Group = (Microsoft.Online.Administration.Group)results[0].BaseObject;
                                  string  Groupid = Group.ObjectId.ToString();
                                  string GroupName = Group.DisplayName;
                              
                       }

                       
                    }
                    // Close the runspace.
                    psRunSpace.Close();
                }
                //Cursor.Current = Cursors.Default;
            }
            catch (Exception)
            {
             
            }
        }
    }
}



Popular Posts