Friday, December 30, 2022

Dynamics 365 Process Workflow Trigger Conditions

Hello Friends,

Welcome back with another post on Dynamics 365. Today, we will learn about the conditions upon which a Processes >> Workflow can be triggered in Dynamics 365.

Automatic Trigger:

Basically, there are 5 options upon which a Processes >> Workflow can be set to trigger automatically. These are-

  1. Record is created-
    1. If selected, then the workflow will trigger automatically when a new record is created. It always triggers AFTER the creation of record.
  2. Record status changes-
    1. If selected, then the workflow will trigger automatically when the Status field of an existing record change its value. It can be set to execute either BEFORE the changes or AFTER the changes of Status field. For example, Opportunity status changes to Won, Lost, Close.
  3. Record is assigned-
    1. If selected, then the workflow will trigger automatically when you Change the Ownership of a record. It can be set to execute either BEFORE the changes applied or AFTER the changes applied.
    2. Remember, if you are creating a record for someone else means you are already setting someone else as owner while creating the record, it means you are assigning the record to someone else automatically. This is different case and workflow will not trigger in this case.
  4. Record fields change-
    1. If selected, it further asks to choose the field(s) you wish to get the workflow triggered upon their value change. You can pick more than one fields. The workflow will trigger automatically when you Change value of a field (selected during setup) of a record. It can be set to execute either BEFORE the changes applied or AFTER the changes applied.
  5. Record is deleted-
    1. If selected, then the workflow will trigger automatically when a record is deleted. It always triggers BEFORE the creation of record.

On-Demand Trigger:

Apart from automatic trigger, Dynamics 365 Processes >> Workflows can be triggered On-Demand. These are of 2 types.
  1. As an on-demand process-
    1. If selected, it starts reflecting on record page under Flow >> Run Workflow. You may select and run the workflow.
    2. On-Demand workflow can offer bulk function to help eliminate tedious tasks from your workday.
  2. As a child process-
    1. If selected, it can be further associated with another workflow to get executed. When we click on "Add Step" during creation of workflow steps, we found a step "Start Child Workflow", workflow marked "As a child process" can be associated here.

Dynamics 365 Processes > >Workflows can be triggered in two mode-
  1. Synchronous
  2. Asynchronous

Dynamics 365 Processes > >Workflows can be triggered under two type of ownerships-
  1. The owner of the workflow
  2. The user who made the changes to the record

Dynamics 365 Processes > >Workflows supports 4 type of scopes-
  1. User
  2. Business Unit
  3. Parent: Child Business Unit
  4. Organization

Related Articles:
Disclaimer: This post is for personal use only.

    Thursday, December 29, 2022

    Power Automate Flow vs Dynamics 365 Flow

    Hello Friends,

    Welcome back with another post. Today, we will discuss a very important comparison which is usually asked during interviews. It's a comparison between-

    1. Microsoft Power Automate Flow
    2. Microsoft Dynamics 365 Workflow
    Let's see the advantages & disadvantages-

    Advantages of Power Automate Flow-
    1. Power Automate Flows can work with various web-based applications / services. For example - SharePoint, Dataverse, Twitter, Gmail, SQL.
    2. Power Automate provide 600+ built-in connectors and custom connectors to connect with various apps / services. For example-
      1. You can create a record in CRM based upon a tweet posted in Twitter.
      2. You can create a case in CRM based upon an email received on Gmail.
      3. You can send notification in Microsoft Teams to notify users when an opportunity is created, or a case is created.
    3. Power Automate Flows facilitates to perform CRUD operations upon data.
    4. Power Automate provides pre-built templates to create the flow.

    Advantages of Dynamics 365 Workflow-
    1. Dynamics 365 Workflows can be synchronous as well as asynchronous.
    2. Dynamics 365 Workflows are faster than Power Automate Flows.

    Additional Comparision:

    Feature (Capability) Power Automate Flow Dynamics 365 Flow
    Conditional Branching (Modeling) Yes Yes
    Dynamics Content (Composition) Yes Yes
    Trigger on Field Changes (Execution) Yes Yes
    Trigger Conditionally on Field Values (Execution)
    (e.g., On a Certain Date in a Date Field)
    No No
    Run On-Demand (Execution) Yes Yes
    Run-as Scopes (Execution)
    (e.g., Organization, Business Unit, User)
    Yes Yes
    Auditing (History) Yes Yes
    Solution Support (Authoring & Portability) Yes Yes


    Feature (Capability) Power Automate Flow Dynamics 365 Flow
    Looping (Modeling) Yes No
    Wait Conditions on Fields (Modeling) No Yes
    Parallel Branch (Modeling) Yes No
    OOB Connectors to External Systems (Modeling) Yes No
    Access To Pre-Image of Event Data (Composition) No Yes
    Run Child Workflows (Composition) No Yes
    Run CDS Actions Including Custom (Composition) No Yes
    Run Custom Workflow Activities (Composition) No Yes
    Group Steps to Run in a Transaction (Composition) Yes No
    Approval Workflows (Composition) Yes No
    Trigger on Multiple CDS Entity Events (Execution) No Yes
    Run on a Schedule (Execution) Yes No
    Run Synchronously (Execution) No Yes
    Run Analytics (History) Yes No
    Modern Designer (Authoring & Portability) Yes No
    AI Assisted Authoring (Authoring & Portability) Yes No

    Related Articles:
    Disclaimer: This post is for personal use only.

    Monday, December 19, 2022

    Configure Security Teams In Microsoft Dynamics 365

    Teams in Dynamics 365 are a collection of users (of the same role) who can belong to the same or different business units. A team can have multiple users, and a user can be part of multiple teams.

    You can assign security roles to teams, and the permissions apply to the members of the team.

    There are four types of teams:
    1. Owner
    2. Access
    3. AAD (Azure Active Directory) Security Group
    4. AAD (Azure Active Directory) Office Group
    Teams can be created and configured under Advanced Settings, Settings -> Security -> Teams.


    OR open Power Platform admin center (microsoft.com) [https://admin.powerplatform.microsoft.com/environments], select the required Environment, click Settings, and click Teams under Users + permissions.


    Owner Team:
    Administrators can assign security roles to an owner team, and an owner team can own records (owner of records).

    When a record is owned by an owner team, all the members of the team get access to the record.

    A member can be part of more than one owner team.

    Each member of the owner team inherits permissions defined by their security roles and “team member’s privilege inheritance” roles (which can be User privileges or Team privileges).

    Administrators need to add members to the owner team manually.

    Use owner teams when:
    1. The structure and definition of teams are known at the time of implementation. The structure is static.
    2. Records can be owned by the team.
    3. Security roles can be assigned to a group of members (i.e., team)
    There are different views to find different type of teams.


    Administrators can find Owner teams under the "All Owner Teams" view.

    Select the team's name to open or click New to create a new owner team.


    Here the Team Type must be Owner. Once a record is saved, the Team Type cannot be changed. It is possible to add users to the Owner team.

    Click + sign on the Team members sub-grid to add new members. It is possible to assign security roles to the owner team.


    Access Teams:
    You cannot assign security roles to an access team, and an access team cannot own records.

    It is possible to add members to an access team, and each member in the access team has permissions assigned by their security roles.

    Members can be added manually to the access team.

    Use access teams when:
    1. The structure of the team is dynamic (changing – forming and dissolving).
    2. Record-level access is provided (owner of the record can define access to other users).
    3. Records can have varying levels of access (read to some users, write to another, and so on).
    4. Access can be removed anytime by the record owner.
    Administrators can find Access teams under the "All User Access Teams" view. Select the team's name to open or click New to create a new access team.


    Here the Team Type must be Access. Once a record is saved, the Team Type cannot be changed. It is possible to add users to the Access team.

    Click + sign on the Team members sub-grid to add new members. It is not possible to assign security roles to the access team.


    Records can be shared with Access teams. Open a record that users want to share, click Share.


    Select an access team as per requirements, click Add.


    Select the permission that the team members must-have. Click Share to share the record, and users will access the record based on the permissions defined by the record owner.

    The owner of the record will not change, and the owner can change/remove the record at any time.


    AAD (Azure Active Directory) Security Group Team:
    Administrators can manage and control Dynamics 365 application access using Azure Active Directory Security Groups.

    In Dynamics 365, administrators need to select AAD Security Group as the team type and enter the Azure AD Object Id for a group that is created in Azure Active Directory Groups.

    Each member has permission assigned to the AAD Security Group team (no need to assign security roles to individual members).

    Administrators can find AAD Security Group Teams under "All AAD Security Group Teams" view. Select the team's name to open or click New to create a new AAD Security Group team.


    Here the Team Type must be AAD Security Group. Once a record is saved, the Team Type cannot be changed.

    It is not possible to add users manually to the AAD Security Group team.

    It is possible to assign security roles to the AAD Security Group team.


    The Azure AD Object Id for a group field (shown above) must be the group id from the Azure Active Directory Security Group Object Id (shown below). It is mandatory to create the AAD Security Group team in Dynamics 365, and once the record is saved, it cannot be changed.


    Members have added automatically to the Dynamics 365 AAD Security Group team when they are added to the Azure Active Directory Security Group. Group type must be Security.


    You can sign up for Azure Free Trial and create new groups here: Click here

    Important: Only Membership type – Assigned can be used to secure user-access rights. Dynamic User and Dynamic Device is not supported.

    Users cannot be added manually to the Dynamics 365 AAD Security Group teams.

    Make sure the Member’s privilege inheritance is set to Direct User (Basic) access level and Team privileges on the respective security role.


    You may not see users added to the AAD Security Group team in Dynamics 365 if the users have never logged in to Dynamics 365 before. Make sure users sign into Dynamics 365, and then only you can see them in the team members sub-grid.


    AAD (Azure Active Directory) Office Group Team:
    AAD Office Group is like AAD Security Group with a few differences:
    1. Security: Used to manage members and computer access to shared resources for a group of users.
    2. Office 365: Provides collaboration opportunities by giving members access to a shared mailbox, calendar, files, SharePoint site, and more.
    In Dynamics 365, administrators need to select AAD Office Group as the team type and enter the Azure AD Object Id for a group that is created in Azure Active Directory Groups.

    Each member has permission assigned to the AAD Office Group team (no need to assign security roles to individual members).

    Administrators can find AAD Office Group Teams under "All AAD Office Group Teams" view. Select the team's name to open or click New to create a new AAD Office Group team.


    Here the Team Type must be AAD Office Group. Once a record is saved, the Team Type cannot be changed.

    It is not possible to add users manually to the AAD Office Group team. 

    It is possible to assign security roles to the AAD Office Group team.


    The Azure AD Object Id for a group field (shown above) must be the group id from the Azure Active Directory Security Group Object Id (shown below). It is mandatory to create the AAD Office Group team in Dynamics 365, and once the record is saved, it cannot be changed.


    Members have added automatically to the Dynamics 365 AAD Office Group team when they are added to the Azure Active Directory Security Group. The group type must be Office 365.


    You can sign up for Azure Free Trial and create new groups here: Click here

    Important: Only Membership type – Assigned can be used to secure user-access rights. The Dynamic User is not supported.

    Users cannot be added manually to the Dynamics 365 AAD Office Group teams.

    Make sure the Member’s privilege inheritance is set to Direct User (Basic) access level and Team privileges on the respective security role.


    You may not see users added to the AAD Office Group team in Dynamics 365 if the users have never logged in to Dynamics 365 before. Make sure users sign into Dynamics 365, and then only you can see them in the team members sub-grid.




    Related Articles:
    1. Configure Security Teams In Microsoft Dynamics 365
    Disclaimer: This post is for personal use only.

    Sunday, December 18, 2022

    Why Microsoft Dynamics 365

    Introduction:

    Cloud-based Enterprise Resource Planning (ERP) software continues to shine as more companies focus on moving away from archaic legacy solutions. Modern replacements can do more now than ever thought possible, including processing much more complicated tasks to fill current needs and requirements.

    With ERP solutions becoming increasingly important to properly running a modern business, choosing the right one is a big deal. Once things like budget, timeframe, and availability are addressed - the final decision is often a compromise based on the needs of different departments like- Sales and Marketing, Operations, Customer Support, Financial Management, and more.

    One of the best comprehensive solutions available is Microsoft’s Dynamics 365 line of products - designed as all-in-one enterprise resource planning solutions that help businesses stay competitive.

    With millions of customers using Microsoft Dynamics in more than 150 countries worldwide, it’s worth understanding how this popular solution can also benefit your business.


    Sales and Marketing:

    While most departments stand to benefit from Microsoft Dynamics 365, sales and marketing departments will find many of its tools especially helpful. Microsoft Dynamics 365 helps enterprises manage all kinds of professional activities – like marketing, sales, service delivery, and more – under one roof. For example, its native capabilities for data capture and customer relationship management help salespeople move more smoothly through every part of their day.

    Regarding marketing campaigns, Dynamics 365 can automate much of a campaign’s launch so marketers can focus on other tasks that require more time and attention. It also enables cloud deployments by default which guarantees high levels of agility and flexibility without making existing investments obsolete.


    Operations and Customer Support:

    Operations departments will benefit greatly from Microsoft Dynamics 365’s ability to integrate with CRM and other back-office applications. User management, reporting, and information sharing become much easier when all these different systems are operating on one platform.

    Customer support teams can use online chat or emails to collect feedback from customers who contact them. Microsoft Dynamics 365 helps sales teams stay organized by setting up follow-up reminders, so they don’t forget about clients after an initial meeting.


    Financial Management and Regulations:

    Microsoft Dynamics 365 provides financial departments with a single source of real-time data to manage accounts payable, accounts receivable, and more. Financial departments are often under immense pressure to deliver accurate numbers as fast as possible to management and stakeholders.

    Microsoft Dynamics 365 will cut down on accounting errors by providing accurate data that is easy to access. This should make it easier for CFOs and auditors to find insights into improving business processes.

    It’s also designed to meet compliance regulations such as Sarbanes-Oxley (SOX), Payment Card Industry Data Security Standard (PCI DSS), Federal Information Security Management Act (FISMA), Health Insurance Portability and Accountability Act (HIPAA), European Union General Data Protection Regulation (GDPR), etc. These regulations require companies across all industries to take steps to protect information held or transmitted on their systems against unauthorized access or disclosure.

    This is an area where the functionality in Microsoft’s Dynamics 365 products is invaluable.


    Business Intelligence:

    Monitoring critical KPIs along with real-time operational data can be the difference between succeeding and simply operating. Every company needs a way to track this information, allowing them to react to any scenario. The Microsoft Dynamics 365 Business Intelligence (BI) solution is designed to help analyze and monitor data from multiple sources and deliver information that can be used to make strategic decisions.

    Business Intelligence departments choose Microsoft Dynamics 365 because of its ability to integrate with other Microsoft products. Another reason departments choose one software or another is the cost, and D365 has proven cost-effective and able to increase revenue through increased operational efficiency. Microsoft’s solution offers real-time insight into how a company is performing while providing a single source of information that can be accessed quickly and easily at any time. This enables a company to adapt its sales, marketing, and procurement strategies more quicker, giving them an edge over the competition.


    Project Management:

    Microsoft Dynamics 365 offers project management departments their own robust tools to help manage and streamline their projects. These tools include time reporting, Gantt charts, and more advanced features like project prioritization and resource management. As soon as they launch Microsoft Dynamics 365’s streamlined Project Management module, users see how easier it is to organize tasks, track time on certain charges, and manage overall progress.

    Also, with full integration into other modules within Enterprise Resource Planning (ERP), it becomes possible to seamlessly pull data from all parts of an organization into one central location, giving managers better insight into data across divisions without having to search for information or sift through emails manually.

    In addition, Microsoft’s D365 Project Management can help alleviate an often-overlooked problem in small businesses: meeting basic compliance requirements.


    Built-In Analytics:

    Microsoft Dynamics 365 has built-in analytic tools and real-time insights. Azure Machine Learning, Cortana Intelligence, and Power BI are all embedded in the software.

    Cortana and Azure and their algorithms take descriptive statistics and can use them for predictions on the opportunities your business should take.

    With these tools, you can get predictive insights and see hidden trends. The business application of these pieces of data are invaluable.

    When you make a decision, you will do it based on accurate data reports. Not only is this better for your business, but it also offers much more responsive customer service.


    Data Privacy:

    Data privacy is a growing concern, but it is one less thing you will have to worry about with Microsoft Dynamics 365. Although it is a cloud-based solution, Microsoft Azure offers top-level cybersecurity.

    It has disaster recovery and technical support available for twenty-four hours. With physical data centers, service hosting platforms, and network connectivity, you can get the help you need.


    Save Money:

    With software that allows you to reduce the sales cycle, you can expect fewer costs. It offers the real-time insights employees need to answer questions and make decisions during the sales process.

    Its advanced automation functions also help identify redundancies in resources and processes. This goes a long way to save on costs.

    Since Microsoft Dynamics 365 uses the cloud for its functions, you also save money on having to maintain your own servers and hardware.


    Customization:

    Dynamics 365 has many built-in workflow tools and modules. They can help you automate functions and tasks across marketing, customer service, field service, sales, and project service.

    If you find that the built-in tools are not offering exactly the functions that you need, you can customize them. You can use the customization tools in the program to add new fields and new objects.

    You can also expect flexibility in the program’s architecture. There are pricing tiers which allow you to customize the program to your budget and team size.


    Scalability:

    Like most other cloud-based Microsoft products, you can change your subscriptions on a monthly basis. When you want to scale up or down, depending on your budget, project, or team size, you can do so with ease. Scalability provides the business intelligence that you need from this type of software.


    Related Articles:
    Disclaimer: This post is for personal use only.

    Microsoft Dynamics 365 vs Others (SAP, Salesforce...)

    When evaluating an ERP, here are a few key parameters that matter most-
    1. Business process mapping and requirement analysis
    2. Budget
    3. ERP Vendor Comparison
      1. Total cost of ownership
      2. Return on Investment (ROI)
      3. Out-of-the-box Features & Functions
      4. Duration of Implementation
      5. Types of Deployment
      6. Operational Disruption
      7. Competency of the partner, partner network and resources
      8. Evaluation of not just the application but the Ecosystem
    4. Technical evaluation including role of ERP in the company’s overall digital strategy
    Now, let's have a look on the analysis.
    1. Microsoft Dynamics 365 offers the lowest Total Cost of Ownership (TCO) among all tier-1 ERP vendors. It's payback period is 18 months lower than that of SAP
    2. Microsoft Dynamics 365 offers the highest ROI of approximately $17 per one dollar spent within the first three years. This return is exponentially higher considering the ROI for competing ERP and CRM products is $7.23 and $8.71, respectively.
    3. Microsoft Dynamics is best suited for progressive mid-market companies aiming to make it big to support growth to an exponential degree.
    4. Microsoft Dynamics 365 users reported an average 12-month implementation time compared to its peer SAP with close to 15 months’ time for medium to high complexity implementations.
    5. For smaller companies and low complexity implementations, the time to implement is less than 12 months.
    6. Microsoft Dynamics 365 users took maximum of 2 - 3 months to achieve stable state as against around 6 months in case of the SAP.
    7. Microsoft Dynamics 365 users reported using 17% more features of Microsoft as compared to SAP.
    8. Microsoft Dynamics 365 users are 10% more likely to achieve the stated benefits as compared to SAP.
    9. Microsoft Dynamics 365 is reported to have high level of customization as compared to its competitors.
    10. Microsoft Dynamics 365 is reported to have more ease of integration with 3rd party systems as compared to its competitors.
    11. In terms of industries targeted, Microsoft Dynamics 365 targets almost every type of industry including Chemical, Pharmaceutical, Consumer Goods, Distribution, Retail (Including POS), Financial, Government and many more.
    12. Analytics:
      1. Microsoft Dynamics 365 provides interactive reports exports, embedded list views and interactive visual reporting using Power BI while Salesforce allows exporting of static report excels. For analytics & reporting capabilities in Salesforce, you have to acquire Analytics Cloud at additional cost.
    13. Integration:
      1. Microsoft Dynamics 365 is an integrated platform that brings Sales, Marketing and other apps together. It also provides seamless integration with Teams, Outlook, LinkedIn and many more. While in Salesforce requires add-on connectors at additional cost.
      2. Not only seamless integration, but most of the businesses are also now a days quite familiar with productivity apps like Microsoft Teams, LinkedIn, Outlook etc.
    14. Deployment:
      1.  Dynamics 365 runs natively on Azure and benefits from the availability of Microsoft’s cloud data centers globally that run on a 99.9% level of availability. Salesforce on the other hand doesn’t allow for this level of availability.
    15. Security:
      1. With Dynamics 365 you can easily set permissions for role-based, record-based, and field-level security, which allows for seamless control of data access across your organization. With standard data encryption, administrators can manage database encryption keys with Azure Key Vault.
    16. User Experience:
      1. While Salesforce does have a simpler interface, Dynamics 365 unified interface resembles the UI of other Microsoft products, so if you are familiar with other Microsoft products like Microsoft 365 – it will be easier to adjust to the D365 interface. Dynamics 365 can also be accessed on mobile, on all Android, iOS and Windows devices.
    17. Pricing:
      1. Another contributing factor to Dynamics 365 superiority as a CRM platform is its competitive pricing and flexible licensing model – which makes it easily accessible for SMBs. Not only is the Enterprise Edition of Salesforce higher in price, but there are additional costs to acquiring add-ons for analytics, field service, data storage and support. Dynamics 365 offers a lower cost per user and includes sales gamification, field service, Power BI and more! 
    Above findings were reported by various agencies like Velosio, Forrester Research, Panorama Consulting.

    Related Articles:
    Disclaimer: This post is for personal use only.