Blog

  • Assign admin and editor roles

    Administrators in the following three roles manage the Search & intelligence settings and content experience for Microsoft Search:

    Global admin: Has complete control over and access to Search & intelligence features and all other enterprise apps and services that contribute to the Microsoft Search experience. This includes settings for branding, news feed, and the Bing homepage. Only a Global admin can assign the roles of Search admins or Search editors.

    Search admin: Can create and manage answer content and settings, add connectors to make more data accessible, and make other configurations and customizations. They can perform all of the content-management tasks a Search editor can.

    Search editor: Typically tasked with the management of answer content such as bookmarks, acronyms, and Q&As.

     Note

    Only Global admins, User admins, and Groups admins can create and manage groups in the Microsoft 365 admin center.

    Assigning roles

    The IT admin from our scenario has recruited someone from the team to manage and create Microsoft Search content. The organization’s Global admin wants to assign a Search admin role to them. Here’s how:

    1. In the Microsoft 365 admin center, select Users > Active Users.
    2. Choose a user account, then in the details pane select Manage roles.
    Image showing Manage roles link in user details pane.
    1. Select Admin center access.
    2. Expand Show all by category to display a list of predefined specialty roles.
    3. The Collaboration section appears at the top of the expanded list. In this section, you’ll see two search-specific roles: Search admin and Search editor.
    Image showing Search admin and Search editor roles in Manage admin roles pane.
    1. Select Search admin and Save changes.

    Now, the newly assigned Search admin has access to the Search & intelligence settings and can review the metrics that will be available.

    https://lernix.com.my/devops-training-courses-malaysia

  • Microsoft Graph Search API

    Create custom connectors or add work or school search to your internal apps with the Microsoft Search API in Microsoft Graph. Your users will get the same personalized, relevant results and the experience will be consistent with other Microsoft Search entry points, like SharePoint and Bing. Use the API to query and retrieve data in the Microsoft cloud—including content in Outlook, OneDrive, and SharePoint—that’s been indexed as part of Microsoft Search, as well as content you’ve added to your search index using a Graph connector.

    https://lernix.com.my/itil-training-courses-malaysia

  • Microsoft Graph connectors

    With Microsoft Graph connectors, your organization can index third-party data so it appears in Microsoft Search results. Depending on the connector, the third-party data can be hosted on-premises or in the cloud.

    The following image gives you an overview of the architecture behind Graph connectors.

    Image showing Microsoft Graph connectors architecture.

    Supported products and data sources

    With 150+ connectors available, you can connect to popular services, including Azure, Box, Confluence, ServiceNow, Salesforce, and more. For a complete list of Graph connectors and details about them, go to the Microsoft Graph connectors gallery.

    Microsoft has also created Graph connectors for many popular data sources, including:

    • Azure Data Lake Storage Gen2: Search for files stored in Azure Blob Storage and Azure Data Lake Gen 2 Storage accounts.
    • Azure DevOps (preview): Index work items from the Azure DevOps Cloud Service.
    • Azure SQL and Microsoft SQL Server: Bring in data from an on-premises SQL Server database or a database hosted in your Azure SQL instance in the cloud.
    • Confluence Cloud: Amplify your team’s productivity by integrating Confluence data like blogs, pages, and more.
    • Confluence On-premises (preview): Index Confluence server or data center content.
    • Jira Cloud (preview): Index issues in your Jira cloud hosted instances.
    • Enterprise websites: Search articles and content from intranet websites, including dynamic sites.
    • File share: Search on-premise Windows file shares for Office 365, Apache OpenOffice, and other file formats.
    • MediaWiki: Add data from a wiki or other content created with MediaWiki software to your index.
    • Oracle SQL: Discover and index data from an on-premises Oracle database.
    • Salesforce: Make contacts, cases, opportunities, leads, and accounts objects discoverable to users according to your organization’s Salesforce permissions.
    • ServiceNow Catalog (preview): Make catalog items accessible to your users.
    • ServiceNow Knowledge: Index ServiceNow knowledge-base articles according to the user criteria permissions within your organization.

    https://lernix.com.my/project-management-training-courses-malaysia

  • Bring more of your data to Microsoft Search

    Access to data and information is a key factor that impacts productivity in most modern organizations. However, enterprise data is often siloed or distributed across various sources—like cloud databases, intranet sites, or on-premises systems. With Microsoft Search, your organization can use Graph and federated search connectors to bring these sources into your search experience.

    Scenario: A large advertising firm has used Salesforce as a CRM tool for many years. The firm’s leadership is looking to improve how existing client information is accessed internally. They’re hoping to make their valuable Salesforce data easier to find within the firm. They reach out to their IT department to see if Microsoft Search can provide a solution.

    Learning objectives

    Once you’ve completed this module, you should be able to:

    • Explain what Microsoft Graph and federated connectors are and how they work.
    • Awareness of the different types of Graph connectors.
    • Customize search results using verticals, layouts, clusters, and filters.
    • Identify the capabilities of Microsoft Graph Search APIs.

    https://lernix.com.my/networking-training-courses-malaysia

  • Review the solution

    The following code is one possible solution for the challenge from the previous unit.

    C#Copy

    string projectName = "ACME";
    string englishLocation = $@"c:\Exercise\{projectName}\data.txt";
    Console.WriteLine($"View English output:\n\t{englishLocation}\n");
    
    string russianMessage = "\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434";
    string russianLocation = $@"c:\Exercise\{projectName}\ru-RU\data.txt";
    Console.WriteLine($"{russianMessage}:\n\t{russianLocation}\n");
    

    This code represents “one possible solution“. You may have some variations in naming variables or in the character escape sequences you used. You might use Console.Write instead of Console.WriteLine, or you might combine the values instead of using several variables.

    However, as long as your code follows the instructions from the challenge and produces the desired output, then congratulations! Continue to the knowledge check in the next unit.

     Important

    If you had trouble completing this challenge, maybe you should review the previous units before you continue on.

    https://lernix.com.my/it-security-training-courses-malaysia

  • Complete the challenge

    Code challenges will reinforce what you’ve learned and help you gain some confidence before continuing on.

    In this challenge, you’ll print instructions to the end user to let them know where your application will output data files. You won’t be actually creating any files — you’re only interested in displaying formatted instructions to the console window.

    You’ll use what you’ve learned about character escape sequences, verbatim strings, unicode, and string interpolation to provide instructions in both English and Russian.

    Challenge: Format and display instructions

    1. Select all of the code in the .NET Editor, and press Delete or Backspace to delete it.
    2. Begin solving the challenge with the following two lines of code.

    C#Copy

    string projectName = "ACME";
    
    string russianMessage = "\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434";
    

    The projectName variable will be used twice in the desired output.

    The russianMessage variable contains the message “View Russian output” in Russian. You must use this variable in your code that prints the message.

    You may not change these two lines of code, but you can add code above and below each line. You must use these two lines of code to form the desired output.

    1. You may only use either the Console.WriteLine() or the Console.Write() method twice.

    In other words, to complete this challenge, you can only create two instructions that actually print output to the console. If you need to print additional new lines or add any formatting, you must use what you’ve learned in this module to accomplish it.

    1. Use character escape sequences, verbatim strings, unicode, and string interpolation to generate the output.

    To complete this challenge, your code must produce the following output.

    OutputCopy

    View English output:
      c:\Exercise\ACME\data.txt
    
    Посмотреть русский вывод:
      c:\Exercise\ACME\ru-RU\data.txt
    
    

    Take note of the new lines, the tabs, and how the two mandatory lines of code are used in the output.

    Whether you get stuck and need to peek at the solution, or you finish successfully, continue on to view a solution to this challenge.

    https://lernix.com.my/software-development-training-courses-malaysia

  • Prepare for guided project

    You’ll be using the .NET Editor as your code development environment. You’ll be writing code that uses string and numeric variables, performs calculations, and displays results to a console.

    Project overview

    You’re developing a Student Grading application that automates the calculation of current grades for each student in a class. The parameters for your application are:

    • You’re given a short list of four students and their five assignment grades.
    • Each assignment grade is expressed as an integer value, 0-100, where 100 represents 100% correct.
    • Final scores are calculated as an average of the five assignment scores.
    • Your application needs to perform basic math operations to calculate the final grades for each student.
    • Your application needs to output/display each student’s name and final score.

    Currently, the teachers grade book shows the graded assignments for each student as follows:Copy

    Sophia: 93, 87, 98, 95, 100
    
    Nicolas: 80, 83, 82, 88, 85
    
    Zahirah:   84, 96, 73, 85, 79
    
    Jeong:  90, 92, 98, 100, 97
    

    The teacher requires that the calculated grades for each student are displayed as follows:Copy

    Student     Grade
    Sophia      94.6  A
    Nicolas     83.6  B
    Zahirah     83.4  B
    Jeong       95.4  A
    

    Setup

    Use the following steps to prepare for the Guided project exercises:

    1. Open the .NET Editor coding environment.
    2. Copy and paste the following code into the .NET Editor. These values represent the graded assignments for each student.C#Copy// initialize variables - graded assignments int currentAssignments = 5; int sophia1 = 93; int sophia2 = 87; int sophia3 = 98; int sophia4 = 95; int sophia5 = 100; int nicolas1 = 80; int nicolas2 = 83; int nicolas3 = 82; int nicolas4 = 88; int nicolas5 = 85; int zahirah1 = 84; int zahirah2 = 96; int zahirah3 = 73; int zahirah4 = 85; int zahirah5 = 79; int jeong1 = 90; int jeong2 = 92; int jeong3 = 98; int jeong4 = 100; int jeong5 = 97;

    https://lernix.com.my/qa-testing-training-courses-malaysia

  • Review the solution

    The following code is one possible solution for the challenge from the previous unit.

    C#Copy

    string name = "Bob";
    int messages = 3;
    decimal temperature = 34.4m;
    
    Console.Write("Hello, ");
    Console.Write(name);
    Console.Write("! You have ");
    Console.Write(messages);
    Console.Write(" messages in your inbox. The temperature is ");
    Console.Write(temperature);
    Console.Write(" celsius.");
    

    This code is just one possible solution of how to create the output. For example, it’s possible you could have used more Console.Write() statements; however, you should have initialized three variables to store the three values per the instructions in the challenge.

    Furthermore, you should have used:

    • a variable of type string to hold the name "Bob".
    • a variable of type int to store the number of messages.
    • a variable of type decimalfloat, or double to store the temperature.

    If you were successful, congratulations! Continue to the knowledge check in the next unit.

     Important

    If you had trouble completing this challenge, maybe you should review the previous units before you continue.

    https://lernix.com.my/virtualization-training-courses-malaysia

  • Complete the challenge

    In this challenge, you’ll write code that will combine literal and variable values into a single message.

    Challenge: Display literal and variable values

    1. Select all of the code in the .NET Editor then select the Delete or Backspace key to delete it.
    2. Store the following values in variables:
      • Bob
      • 3
      • 34.4
      These variables should be given names that reflect their purpose.Make sure you select the correct data type for each of the variables based on the type of data it will hold.Finally, you’ll combine the variables with literal strings passed into a series of Console.Write() commands to form a complete message.
    3. Write code in the .NET Editor to display the following message:OutputCopyHello, Bob! You have 3 messages in your inbox. The temperature is 34.4 celsius. No matter how you do it, your code should produce the specified output.

    Whether you get stuck and need to peek at the solution or you finish successfully, continue to view a solution to this challenge.

    https://lernix.com.my/aws-certification-malaysia

  • Declare implicitly typed local variables

    The C# compiler works behind the scenes to assist you as you write your code. It can infer your variable’s data type by its initialized value. In this unit, you’ll learn about this feature, called implicitly typed local variables.

    What are implicitly typed local variables?

    An implicitly typed local variable is created by using the var keyword followed by a variable initialization. For example:

    C#Copy

    var message = "Hello world!";
    

    In this example, a string variable was created using the var keyword instead of the string keyword.

    The var keyword tells the C# compiler that the data type is implied by the assigned value. After the type is implied, the variable acts the same as if the actual data type had been used to declare it. The var keyword is used to save on keystrokes when types are lengthy or when the type is obvious from the context.

    In the example:

    C#Copy

    var message = "Hello world!";
    

    Because the variable message is immediately set to the string value "Hello World!", the C# compiler understands the intent and treats every instance of message as an instance of type string.

    In fact, the message variable is typed to be a string and can never be changed. For example, consider the following code:

    C#Copy

    var message = "Hello World!";
    message = 10.703m;
    

    If you run this code, you’ll see the following error message.

    OutputCopy

    (2,11): error CS0029: Cannot implicitly convert type 'decimal' to 'string'
    

     Note

    Other programming languages use the var keyword differently. In C#, variables are assigned a type by the compiler regardless of whether you use the actual data type name or allow the compiler to imply the data type. In other words, the type is locked in at the time of declaration and therefore will never be able to hold values of a different data type.

    Variables using the var keyword must be initialized

    It’s important to understand that the var keyword is dependent on the value you use to initialize the variable. If you try to use the var keyword without initializing the variable, you’ll receive an error when you attempt to compile your code.

    C#Copy

    var message;
    

    If you attempt to run this code, as it compiles, you’ll see the following output:

    OutputCopy

    (1,5): error CS0818: Implicitly-typed variables must be initialized
    

    Why use the var keyword?

    The var keyword has been widely adopted in the C# community. It’s likely that if you look at a code example in a book or online, you’ll see the var keyword used instead of the actual data type name, so it’s important to understand its usage.

    The var keyword has an important use in C#. Many times, the type of a variable is obvious from its initialization. In those cases, it’s simpler to use the var keyword. The var keyword can also be useful when planning the code for an application. When you begin developing code for a task, you may not immediately know what data type to use. Using var can help you develop your solution more dynamically.

    As you get started, it is recommended that you continue to use the actual data type name when you declare variables until you become more comfortable working with code. Using the data type when you declare variables will help you be purposeful as you write your code.

    Recap

    Here’s what you’ve learned about the var keyword so far:

    • The var keyword tells the compiler to infer the data type of the variable based on the value it is initialized to.
    • You’ll likely see the var keyword as you read other people’s code; however, you should use the data type when possible.

    https://lernix.com.my/oracle-certification-malaysia