Posts

Get PartyList lookup field in Email/Activities entity update partyid record

Get the partylist lookup value and check the lookup value is contact and update the contact   Entity fromActivityParty = targetEntity.GetAttributeValue<EntityCollection>("from").Entities                 .Where(x => x.GetAttributeValue<EntityReference>("partyid")?.LogicalName == "contact")                 .FirstOrDefault();          if (fromActivityParty == null) return;          EntityReference contactReference = fromActivityParty.GetAttributeValue<EntityReference>("partyid"); Entity contact = new Entity("contact", contactReference.Id); contact["fullname"]= "ApyCRM"; service.Update(contact);

How can we enable and disable Multifactor Authentication in d365

Image
  Create Trial Instance and Login to Trail Open : https://admin.microsoft.com/ Once we opened above URL we can see below screen. Once you click on Multi-factor authentication we can see below screen. If it is enabled you can select user and Disable it. If it is disabled you can select user and Enable it

How to disable/stop Multifactor Authentication on Dynamic 365 CRM

Image
  è   Login into D365 CRM è After login trail CRM in same browser open below. è URL: https://portal.azure.com (Azure Portal) è After opened azure portal in browser è Select Azure Active Directory check in below screen. è Click on properties è Select Manage security defaults. è Enable security defaults property to No. è Select Other and click on Save button Thanks for reading this blog 

how to create Microsoft Teams group chat using power automate flow

Image
 Create a Automate trigger flow  When a record is Added or Modified or Delete on any of the custom entity Initialize a variable with Name: GroupName, Type: String, Value: Allam Teams Group this variable is used to check the existing team is available are not List chats Microsoft teams Chat Types: Group, Topic : All Chats  take a compose and value is contains(string(outputs( 'List_chats' )?[ 'body' ]),variables( 'GroupName' )) check the condition of compose output outputs('Compose') value Group "Allam Teams Group"  if group is already available then send a message in group or create group and send a message Create a chat Members to add :Test@onmicrosoft.com;Test2@onmicrosoft.com Title: Allam Teams Group Post message in a chat or channel Post as: Flow bot, Post in: Group chat, Group chat: Create a chat id, Message : type message if group is existing post message in a chat or channel2 as show in below output is as shown in below

How to create a responsible editable grid in canvas app using containers.

Image
We will show you how to create a Responsive Editable Grid in Canvas App as quick as possible with the Horizontal container and Vertical container. Login D365: https://make.powerapps.com/ Create a new Canvas App, click on Edit App. Part 1 : Create new Screen Rename Event Screen. Place a Vertical Container on the screen. Height= Parent.Height Width= Parent.Width Place a Horizontal Container for buttons inside Vertical Container on the screen. Flexible height off Height =50 Place a Horizontal Container for Table Header inside Vertical Container on the screen. Flexible height off Height =50 Inside a Horizontal Container place Horizontal Gallery Insert label 4 and rename the label inside of header container.   Moving on to EditableGridContentGallery(Blank Vertical Gallery) , insert 4 Text Inputs to the Container , rename all the Text Inputs accordingly and for each Text Input , we will map the X and Width property of each text input control to correspond with the Ti...

How to get application name using JS in D365

 When we run this, we see in passing a variable into the first parameter(appName),  it gives us several pieces of information, including the appId, displayName, uniqueName, url, webResourceId, webResourceName, welcomePageId and welcomePageName function appName() { var globalContext = Xrm.Utility.getGlobalContext(); globalContext.getCurrentAppProperties().then(     function success(app) { console.log(app); },  function errorCallback() { console.log("Error");  }); } async function CheckAppNameForSpecificValue() {     returnBoolVal = false;     var globalContext = Xrm.Utility.getGlobalContext();     await globalContext.getCurrentAppName().then(function (appName) {         if (appName.displayname.toLowerCase() == 'myappname') {             returnBoolVal = true         }     },         function (error) {         ...

Validation on D365 and Key Points to be Identified/Noted in D365

  Whenever Business Unit Created Automatically Teams will created ------------------------------------------------- String field number validation can be done OOB functionality 000-00-0000 go to field control and formatting ------------------------------------------------- Parent Business Unit cannot change directly  first need to export excel change then name in excel and report import the excel file using (Settings->Data Management->Import) ------------------------------------------------- While creating an entity owner will not change like "user or team" / "organization"  if we are creating as Owner = organization then we cannot see share, Assign in Security Role then if we are creating as Owner = User or Team then we can see share, Assign in Security Role ------------------------------------------------- Two Type of Dashboard  1. Default 2. Interactive Dashboards In Dynamics 365, there are 2 types of Interactive Experience dashboards: Single-Stream Dashboa...