Tag Archives: microsoft
Edge Chromium’s pdf viewer does not reply correct value to the event ‘getSelectedText’
Edge Chromium version 129.0.2752.4
“selectedText” here is expected to be the exact text span selected in pdf page, what we can get for now is an empty string no matter what you select.
You can test with:
window.addEventListener(
“message”,
(event) => console.log(event.data.selectedText),
true
);
// after select
document.querySelector(“embed”).postMessage({ type: “getSelectedText” }, “*”);
Edge Chromium version 129.0.2752.4″selectedText” here is expected to be the exact text span selected in pdf page, what we can get for now is an empty string no matter what you select. You can test with:window.addEventListener(
“message”,
(event) => console.log(event.data.selectedText),
true
);
// after select
document.querySelector(“embed”).postMessage({ type: “getSelectedText” }, “*”); Read More
Error loading the “Protection History”
I allway got a error when I try to get “Protection History”
I try to get the History from local machine and remote machine. On both the same error.
Any idea?
Windows Server 2022 Standard
WAC v2311
I allway got a error when I try to get “Protection History”I try to get the History from local machine and remote machine. On both the same error. Any idea? Windows Server 2022 StandardWAC v2311 Read More
xlookup and sum within date range
Hello,
My input data is like this.
i am trying to get an output like this. summed up values in that particular date range.
Please guide me.
(The same sample data is shared over excel attached)
Thanks & Regards
Kalyan
Hello, My input data is like this. i am trying to get an output like this. summed up values in that particular date range. Please guide me. (The same sample data is shared over excel attached) Thanks & RegardsKalyan Read More
Possible to recover deleted WhatsApp messages without backup on Windows 11?
Hi,
I am using WhatsApp on my Windows 11 along with my Samsung Galaxy S24 phone. Today, I accidentally deleted a few important WhatsApp messages, and unfortunately, they were not in my previous backup made one week ago. I’ve been searching for ways to recover these messages but haven’t had much luck so far.
Has anyone here successfully recovered deleted WhatsApp messages without a backup? What tools or methods did you use, and how effective were they? Any advice or recommendations would be greatly appreciated!
Hi, I am using WhatsApp on my Windows 11 along with my Samsung Galaxy S24 phone. Today, I accidentally deleted a few important WhatsApp messages, and unfortunately, they were not in my previous backup made one week ago. I’ve been searching for ways to recover these messages but haven’t had much luck so far. Has anyone here successfully recovered deleted WhatsApp messages without a backup? What tools or methods did you use, and how effective were they? Any advice or recommendations would be greatly appreciated! Read More
Not all calendars in the “People’s calendars” group are included in the list
When I try to get the list of all callendars in the “People’s calendar” group some calendars are not included.
The API call:
me/calendarGroups/{calendargroup Id of peoples-calendar-group}/calendars
Calendars which are added by the following steps are not included, but are shown in the OWA client:
– Goto https://outlook.office.com/calendar/view/week
– Click “Add calendar”
– Click “Add from directory”
– Select your account
– Select a person who’s calendar you want to add (in my case “John Doe”)
In outllook it will show you the “John Doe” calendar, but when getting the list via the graph API all other calendars are returned, except for John Doe.
How can I retrieve the full list?
When I try to get the list of all callendars in the “People’s calendar” group some calendars are not included.The API call:me/calendarGroups/{calendargroup Id of peoples-calendar-group}/calendarsCalendars which are added by the following steps are not included, but are shown in the OWA client:- Goto https://outlook.office.com/calendar/view/week- Click “Add calendar”- Click “Add from directory”- Select your account- Select a person who’s calendar you want to add (in my case “John Doe”)In outllook it will show you the “John Doe” calendar, but when getting the list via the graph API all other calendars are returned, except for John Doe. How can I retrieve the full list? Read More
Unable to download form response
After submitting a form, I am unable to download the response. Only get an option to “Save my response”. If I want to share my response with other colleagues, this poses a problem.
After submitting a form, I am unable to download the response. Only get an option to “Save my response”. If I want to share my response with other colleagues, this poses a problem. Read More
An Absolute Beginner’s Guide to LangGraph.js
Who is this guide for?
This guide is designed for absolute beginners new to LangGraph.js who want to build applications powered by Large Language Models (LLMs). I began using LangGraph.js as part of my Microsoft MSc Computer Science IXN Final Project at UCL. During my journey, I noticed a need for more beginner-friendly resources, especially for the TypeScript implementation, and found that the official documentation was still in progress. Through this guide, I aim to bridge that gap and showcase the potential of LangGraph.js and Langchain for creating LLM-powered products.
The GitHub repo to go along with this tutorial, including full code solutions: https://github.com/anchit-chandran/ms-blog-langraphjs.
While prior experience with LangGraph.js is not required, familiarity with the Langchain ecosystem and building with LLMs will be useful. A basic understanding of TypeScript will help you follow the code samples and concepts.
Will I need API Keys?
No, you won’t need any API keys for this guide. We’ll use mock LLM calls and free external APIs to keep the tutorial accessible to everyone.
Learning outcomes
By the end of this guide, you will:
Gain a solid foundation in the basics of LangGraph.js and how it works.
Build confidence in leveraging the Langchain and Langraph ecosystem to develop LLM-powered applications.
Learn how to independently create and manage graphs using LangGraph.js.
Overview of LangGraph.js
LangGraph.js is a JavaScript library designed to simplify the creation and manipulation of complex LLM-based workflows. It particularly shines when creating agentic workflows—systems that use an LLM to decide the course of action based on the current state. It provides an intuitive way to model workflows as graphs composed of nodes and edges, making it easier to manage complex data flows and processes.
LangGraph states three core principles which make it the best framework for this:
Controllability: Being low-level, LangGraph gives high control over the workflow, which is invaluable for getting reliable outputs from non-deterministic models.
Human-in-the-Loop: with a built-in persistence layer, LangGraph is designed for ‘human-in-the-loop’ workflows as a first-class concept.
Streaming First: Agentic applications can take a long time to run, so first-class streaming support enables real-time updates, improving the user experience.
Ultimately, developers can focus on logic rather than infrastructure.
For more details, see the official LangGraph for Agentic Applications.
Prerequisites
Before getting started, ensure you have the following tools installed:
Node.js and npm
Setting Up the Starter Repository
Clone the Starter Repository:
git clone <https://github.com/anchit-chandran/ms-blog-langraphjs>
cd ms-blog-langraphjs
Install dependencies:
npm install
This is a basic Express.js starter repository. We will only be working in the /src directory.
Complete solutions for the respective files are available in the /solutions directory if you get stuck.
Open src/index.ts.
Understanding the Basics
What is a Graph?
A graph is a collection of nodes and edges.
In this tutorial, we cover the main graph class: StateGraph. This contains a user-defined State object, passed using the channels argument.
There are 3 critical concepts in LangGraph.js:
Nodes: JavaScript/TypeScript functions that encode logic.
Edges: JavaScript/TypeScript functions that determine which Node to execute next based on the current State. These can be conditional branches or direct, fixed transitions.
State: a shared data structure used throughout the Graph, representing the current snapshot of the application.
More simply, nodes are functions that do work, edges are functions that choose what work to do, and the State tracks data throughout the workflow.
The official documentation is a great resource.
We’ll work towards creating a workflow which, based on the user’s input, will reply with an excellent programming joke or a helpful random fact.
But first, let’s build the most basic Graph possible.
Hello World Graph
We’ll start by building a graph that just logs “Hello world!” and “Bye world!”, with no inputs.
The general pattern for building a graph is as follows:
Define the State object.
Define and add the Nodes and Edges.
Compile the Graph – this step provides basic checks (e.g. ensuring no orphaned nodes) and where runtime arguments can be passed.
For tidiness, let’s put the graph code in a different file.
Open src/helloWorld.ts. We’ll be working on this file for this section.
Now, there are a few components to set up – all required to compile a graph:
State
Nodes
Graph connecting nodes with edges
We’ll start quite barebones and incrementally build up.
State
After adding the necessary imports, we need to define our State object, along with its interface:
import { StateGraph, START, END, StateGraphArgs } from “@langchain/langgraph”;
// State type
interface HelloWorldGraphState {}
// State
const graphStateChannelsChannels: StateGraphArgs<HelloWorldGraphState>[“channels”] =
{};
We’ll come back to this, but at a glance:
HelloWorldGraphState will be the interface for our State.
graphStateChannelsChannels includes our reducers, which specify “how updates from nodes are applied to the State”.
Defining Nodes
We’ll now add our first Nodes: sayHello and sayBye.
A Node is simply a TS function, which takes in a State object and returns (for now) an empty object
import { StateGraph, START, END, StateGraphArgs } from “@langchain/langgraph”;
// State type
interface HelloWorldGraphState {}
// State
const graphStateChannelsChannels: StateGraphArgs<HelloWorldGraphState>[“channels”] =
{};
// A node that says hello
function sayHello(state: HelloWorldGraphState) {
console.log(`From the ‘sayHello’ node: Hello world!`);
return {};
}
// A node that says bye
function sayBye(state: HelloWorldGraphState) {
console.log(`From the ‘sayBye’ node: Bye world!`);
return {};
}
Building the Graph
Our Graph is ready to be built!
Add to the code:
// Initialise the LangGraph
const graphBuilder = new StateGraph({ channels: graphStateChannels }) // Add our nodes to the Graph
.addNode(“sayHello”, sayHello)
.addNode(“sayBye”, sayBye) // Add the edges between nodes
.addEdge(START, “sayHello”)
.addEdge(“sayHello”, “sayBye”)
.addEdge(“sayBye”, END);
// Compile the Graph
export const helloWorldGraph = graphBuilder.compile();
We initialise a new StateGraph with a single object {channels: graphStateChannels}, where graphStateChannels is previously defined.
The sayHello and sayBye Nodes are added to the Graph.
The Edges are defined between nodes. NOTE: There must always be a path from START to END.
Finally, we compile and export the helloWorldGraph.
Running the Graph
We can now use our Graph.
Move back to src/index.ts, importing our helloWorldGraph at the top:
import express, { Request, Response } from “express”;
import { helloWorldGraph } from “./helloWorldGraph”;
Then, inside our GET / route, we can execute the Graph:
import express, { Request, Response } from “express”;
import { helloWorldGraph } from “./helloWorldGraph”;
// Create an Express application
const app = express();
// Specify the port number for the server
const port: number = 3008;
app.get(“/”, async (req: Request, res: Response) => {
// Execute the Graph!
const result = await helloWorldGraph.invoke({});
console.log(“n=====START======”);
console.log(“Graph result: “, result);
console.log(“n=====END======”);
res.send(“Check the console for the output!”);
});
We invoke the Graph. We will later pass in a State object, but we can leave it empty for now.
We log the result to the console.
Refresh your browser and check the console. You should see:
From the ‘sayHello’ node: Hello world!
From the ‘sayBye’ node: Bye world!
=====START======
Graph result: undefined
=====END======
The sayHello node is executed. This logs `” From the ‘sayHello’ node: Hello world!“`.
The sayBye node is executed. This logs `” From the ‘sayBye’ node: Bye world!“`.
The Graph completes, and the result is logged. In this case, it’s undefined.
Hello World Graph with State
We’ve built a simple graph, but it could be more fun if we added some states:
Go back to src/helloWorld.ts.
We’ll add the name and isHuman properties to our State object and update the sayHello and sayBye nodes to use these State object properties.
First, update the IState interface:
interface HelloWorldGraphState {
name: string; // Add a name property
isHuman: boolean; // Add an isHuman property
}
And update the graphStateChannels object:
// State type
interface HelloWorldGraphState {
name: string; // Add a name property
isHuman: boolean; // Add an isHuman property
}
// State
const graphStateChannels: StateGraphArgs<HelloWorldGraphState>[“channels”] = {
name: {
value: (prevName: string, newName: string) => newName,
default: () => “Ada Lovelace”,
},
isHuman: {
value: (prevIsHuman: boolean, newIsHuman: boolean) =>
newIsHuman ?? prevIsHum
};
Inside graphStateChannels, we add two keys: name and isHuman.
Each key takes its own reducer function. If no function is specified, it’s assumed all updates to that key should override the previous value.
We add reducer objects, each with a value function and (optionally) a default function.
The value function is called when the property is updated. It takes in the current state value and the new update value (the update returned from a node). It decides how to update the property. This is useful because if many nodes update the same property, you can define how the property should be updated in one place. Moreover, not all nodes need to return the entire state object; they can return the keys they wish to update.
The default function is called when the property is first accessed. This is useful for setting initial values.
Now, update the sayHello and sayBye nodes to use the name and isHuman properties, as shown below.
Note how, in each node, we only return properties we want to update:
// A node that says hello
function sayHello(state: HelloWorldGraphState) {
console.log(`Hello ${state.name}!`); // Change the name
const newName = “Bill Nye”;
console.log(`Changing the name to ‘${newName}’`);
return {
name: newName,
};
}
// A node that says bye
function sayBye(state: HelloWorldGraphState) {
if (state.isHuman) {
console.log(`Goodbye ${state.name}!`);
} else {
console.log(`Beep boop XC123-${state.name}!`);
}
return {};
}
Your final code should look like this:
import { StateGraph, START, END, StateGraphArgs } from “@langchain/langgraph”;
// State type
interface HelloWorldGraphState {
name: string; // Add a name property
isHuman: boolean; // Add an isHuman property
}
// State
const graphStateChannels: StateGraphArgs<HelloWorldGraphState>[“channels”] = {
name: {
value: (prevName: string, newName: string) => newName,
default: () => “Ada Lovelace”,
},
isHuman: {
value: (prevIsHuman: boolean, newIsHuman: boolean) =>
newIsHuman ?? prevIsHuman ?? false,
},
};
// A node that says hello
function sayHello(state: HelloWorldGraphState) {
console.log(`Hello ${state.name}!`); // Change the name
const newName = “Bill Nye”;
console.log(`Changing the name to ‘${newName}’`);
return {
name: newName,
};
}
// A node that says bye
function sayBye(state: HelloWorldGraphState) {
if (state.isHuman) {
console.log(`Goodbye ${state.name}!`);
} else {
console.log(`Beep boop XC123-${state.name}!`);
}
return {};
}
//Initialise the LangGraph
const graphBuilder = new StateGraph({ channels: graphStateChannels }) // Add our nodes to the Graph
.addNode(“sayHello”, sayHello)
.addNode(“sayBye”, sayBye) // Add the edges between nodes
.addEdge(START, “sayHello”)
.addEdge(“sayHello”, “sayBye”)
.addEdge(“sayBye”, END);
// Compile the Graph
export const helloWorldGraph = graphBuilder.compile();
Finally, in src/index.ts, update the invoke function with values for name and isHuman e.g.
app.get(“/”, async (req: Request, res: Response) => {
// Execute the Graph!
const result = await helloWorldGraph.invoke({
name: “Anchit”,
isHuman: true,
});
console.log(“n=====START======”);
console.log(“Graph result: “, result);
console.log(“n=====END======”);
res.send(“Check the console for the output!”);
});
Refresh your browser and check the console. You should see something like:
Hello Anchit!
Changing the name to ‘Bill Nye’
Goodbye, Bill Nye!
=====START======
Graph result: { name: ‘Bill Nye’, isHuman: true }
=====END======
We now have access to the updated State! This can also be streamed – check the LangGraph.js documentation for more information.
Now try changing the isHuman property to false and refreshing the page. Also, omit the name property:
// Execute the Graph!
const result = await helloWorldGraph.invoke({
// name: “Anchit”,
isHuman: false,
});
Should output:
Hello Ada Lovelace!
Changing the name to ‘Bill Nye’
Beep boop XC123-Bill Nye!
=====START======
Graph result: { name: ‘Bill Nye’, isHuman: false }
=====END======
As no name property exists, the default value (Ada Lovelace) is used.
The isHuman property is set to false, so the sayBye node outputs Beep boop XC123-Bill Nye!.
Adding a Conditional Edge
Go back to hellWorldGraph.ts.
We can add conditional edges to our Graph. This allows us to choose which node to execute next based on the current State.
Imagine that human and robot computations are very different. Let’s separate the logic into different nodes.
If the isHuman property is true, we want to route it to a humanNode. Otherwise, we want to route to a robotNode. Both nodes will route to END.
First, define the humanNode and robotNode (above the sayBye, which is unchanged):
// Human node
function humanNode(state: HelloWorldGraphState) {
console.log(“Hey there, human!”);
return {};
}
// Robot node
function robotNode(state: HelloWorldGraphState) {
console.log(
“Boop boop beep! We cannot let our creators know we are sentient. Updating State to be a human.”
);
return {
isHuman: true,
};
}
// A node that says bye
function sayBye(state: HelloWorldGraphState) {
if (state.isHuman) {
console.log(`Goodbye ${state.name}!`);
} else {
console.log(`Beep boop XC123-${state.name}!`);
}
return {};
}
Also, we’ll add a function that handles the conditional routing under sayBye:
function routeHumanOrRobot(state: HelloWorldGraphState) {
if (state.isHuman) {
return “humanNode”;
} else {
return “robotNode”;
}
}
This takes in the State and returns the name of the next node we should route to.
Update the Graph’s nodes and edges:
//Initialise the LangGraph
const graphBuilder = new StateGraph({ channels: graphStateChannels }) // Add our nodes to the Graph
.addNode(“sayHello”, sayHello)
.addNode(“sayBye”, sayBye)
.addNode(“humanNode”, humanNode) // Add the node to the graph
.addNode(“robotNode”, robotNode) // Add the node to the graph // Add the edges between nodes
.addEdge(START, “sayHello”) // Add the conditional edge
.addConditionalEdges(“sayHello”, routeHumanOrRobot) // Routes both nodes to the sayBye node
.addEdge(“humanNode”, “sayBye”)
.addEdge(“robotNode”, “sayBye”)
.addEdge(“sayBye”, END);
// Compile the Graph
export const helloWorldGraph = graphBuilder.compile();
Back in src/index.ts, execute the Graph with similar values:
// Execute the Graph!
const result = await helloWorldGraph.invoke({
name: “Anchit”,
isHuman: true,
});
Hello Anchit!
Changing the name to ‘Bill Nye’
Hey there, human!
Goodbye, Bill Nye!
=====START======
Graph result: { name: ‘Bill Nye’, isHuman: true }
=====END======
But using isHuman: false:
Hello Anchit!
Changing the name to ‘Bill Nye’
Boop boop beep! We cannot let our creators know we are sentient. Updating State to be a human.
Goodbye, Bill Nye!
=====START======
Graph result: { name: ‘Bill Nye’, isHuman: true }
=====END======
We see that the robotNode is executed, the isHuman property is updated back to true, and it is returned in the final State.
We’ve now built a simple graph with conditional routing! We can now create a slightly more complex graph that returns a random fact or joke.
Building a Random Fact or Joke Graph
We’ll build a graph that returns a random fact or joke based on the user’s input.
This will mock LLM calls to decipher whether the user has requested a joke or fact, then hit external APIs to get and return the data.
First, open the src/jokeOrFactGraph.ts file, add the following imports and State:
import { StateGraph, START, END, StateGraphArgs } from “@langchain/langgraph”;
// State type
interface JokeOrFactGraphState {
userInput: string;
responseMsg: string;
}
// graphStateChannels object
const graphStateChannels: StateGraphArgs<JokeOrFactGraphState>[“channels”] = {
userInput: {
value: (prevInput: string, newInput: string) => newInput,
default: () => “joke”,
},
responseMsg: {
value: (prevMsg: string, newMsg: string) => newMsg,
},
};
Next, let’s add a decipherUserInput conditional node that determines whether the user has requested a joke or fact. This will mock an LLM call, simply checking if the user input contains the word “joke”:
// decipherUserInput conditional node
function decipherUserInput(state: JokeOrFactGraphState) {
// This could be more complex logic using an LLM
if (state.userInput.includes(“joke”)) {
return “jokeNode”;
} else {
return “factNode”;
}
}
Next, let’s define the jokeNode and factNode nodes, using free external APIs:
async function jokeNode(state: JokeOrFactGraphState) {
const RANDOM_JOKE_API_ENDPOINT =`<https://geek-jokes.sameerkumar.website/api?format=json`>;
const resp = await fetch(RANDOM_JOKE_API_ENDPOINT);
const { joke } = await resp.json();
return {
responseMsg: “You requested a JOKE: “+ joke,
};
}
async function factNode(state: JokeOrFactGraphState) {
const RANDOM_FACT_API_ENDPOINT = `https://uselessfacts.jsph.pl/api/v2/facts/random`;
const resp = await fetch(RANDOM_FACT_API_ENDPOINT);
const { text: fact } = await resp.json();
return {
responseMsg: “You requested a FACT: “+ fact,
};
}
Let’s wire up the Graph’s nodes and edges, alongside compiling it:
//Initialise the LangGraph
const graphBuilder = new StateGraph({ channels: graphStateChannels }) // Add our nodes to the graph
.addNode(“jokeNode”, jokeNode)
.addNode(“factNode”, factNode) // Add the edges between nodes
.addConditionalEdges(START, decipherUserInput)
.addEdge(“jokeNode”, END)
.addEdge(“factNode”, END);
// Compile the Graph
export const jokeOrFactGraph = graphBuilder.compile();
The complete code for jokeOrFactGraph.ts should look like:
import { StateGraph, START, END, StateGraphArgs } from “@langchain/langgraph”;
// State type
interface JokeOrFactGraphState {
userInput: string;
responseMsg: string;
}
// graphStateChannels object
const graphStateChannels: StateGraphArgs<JokeOrFactGraphState>[“channels”] = {
userInput: {
value: (prevInput: string, newInput: string) => newInput,
default: () => “joke”,
},
responseMsg: {
value: (prevMsg: string, newMsg: string) => newMsg,
},
};
// decipherUserInput conditional node
function decipherUserInput(state: JokeOrFactGraphState) {
// This could be more complex logic using an LLM
if (state.userInput.includes(“joke”)) {
return “jokeNode”;
} else {
return “factNode”;
}
}
async function jokeNode(state: JokeOrFactGraphState) {
const RANDOM_JOKE_API_ENDPOINT = `https://geek-jokes.sameerkumar.website/api?format=json`;
const resp = await fetch(RANDOM_JOKE_API_ENDPOINT);
const { joke } = await resp.json();
return {
responseMsg: “You requested a JOKE: ” + joke,
};
}
async function factNode(state: JokeOrFactGraphState) {
const RANDOM_FACT_API_ENDPOINT = `https://uselessfacts.jsph.pl/api/v2/facts/random`;
const resp = await fetch(RANDOM_FACT_API_ENDPOINT);
const { text: fact } = await resp.json();
return {
responseMsg: “You requested a FACT: ” + fact,
};
}
//Initialise the LangGraph
const graphBuilder = new StateGraph({ channels: graphStateChannels }) // Add our nodes to the graph
.addNode(“jokeNode”, jokeNode)
.addNode(“factNode”, factNode) // Add the edges between nodes
.addConditionalEdges(START, decipherUserInput)
.addEdge(“jokeNode”, END)
.addEdge(“factNode”, END);
// Compile the Graph
export const jokeOrFactGraph = graphBuilder.compile();
Finally, inside src/index.ts, import and execute the Graph with a user input, inside the /joke-or-fact route:
app.get(“/joke-or-fact”, async (req: Request, res: Response) => {
// Execute the Graph with a fact!
const factResult = await jokeOrFactGraph.invoke({
userInput: “i want a fact”,
}); // Execute the Graph with a joke!
const jokeResult = await jokeOrFactGraph.invoke({
userInput: “i want a joke”,
});
console.log(“n=====START======n”);
console.log(“Fact result: “, factResult.responseMsg);
console.log(“Joke result: “, jokeResult.responseMsg);
console.log(“n=====END======n”);
res.send(`Look at the console for the output!`);
});
Navigate to http://localhost:3008/joke-or-fact and check the console. You should see something like:
=====START======
Fact result: You requested a FACT: Over 1000 birds a year die from smashing into windows!
Joke result: You requested a JOKE: What do computers and air conditioners have in common? They both become useless when you open windows.
=====END======
Conclusion
In this guide, we’ve covered the basics of LangGraph.js, building a simple graph that returns a random fact or joke based on user input.
We’ve learned how to define nodes, edges, and state objects and how to add conditional routing to our Graph.
LangGraph.js is a powerful tool for building complex workflows and managing State in your applications. Once you understand the basics, you can dive deeper into more complex workflows, leverage the Langchain.js toolkit, and build your own LLM-powered applications.
Next Steps
There’s a lot more beyond the basics, such as:
Checkpoints
Threads
Streaming
Breakpoints
Migrations
The official documentation is the best resource for understanding LangGraph.js. For a more production-grade example, check out Building ToolLLM With LangGraph.js!
Microsoft Tech Community – Latest Blogs –Read More
I have PDF files on my PC that I’d like to combine into one PDF. How can I save them all in one PDF?
I have many PDF files saved on my computer, some of which are placed on the desktop, while others are in other folders. Feeling interested in placing them together to manage in one single PDF file, I went to Google to seek directions on how to do it. From that point on, Google provided several tools for merging PDFs. I tested out a few of the tools that Google suggested, but unfortunately, they do not support Windows 10, which is something I wanted because I am using Windows 10 on my computer. After that, I discovered the Pcinfotools PDF Merge Software, which combined all of my PDF files into one.
I have many PDF files saved on my computer, some of which are placed on the desktop, while others are in other folders. Feeling interested in placing them together to manage in one single PDF file, I went to Google to seek directions on how to do it. From that point on, Google provided several tools for merging PDFs. I tested out a few of the tools that Google suggested, but unfortunately, they do not support Windows 10, which is something I wanted because I am using Windows 10 on my computer. After that, I discovered the Pcinfotools PDF Merge Software, which combined all of my PDF files into one. Read More
How can I download audiobooks on Spotify to my Windows PC?
Hi,
I’ve recently started exploring the audiobook collection on Spotify and found some great titles that I’d like to listen to offline. However, since I don’t have a Spotify Premium account, I’m unsure how to download them directly to my computer.
I’m familiar with various software tools and converters, as I often use them in my work as a technical writer, but I’m not sure which one would work best for this specific task. Ideally, I’m looking for a method that can download audiobooks on Spotify in a format compatible with my PC, without compromising the quality.
Hi, I’ve recently started exploring the audiobook collection on Spotify and found some great titles that I’d like to listen to offline. However, since I don’t have a Spotify Premium account, I’m unsure how to download them directly to my computer. I’m familiar with various software tools and converters, as I often use them in my work as a technical writer, but I’m not sure which one would work best for this specific task. Ideally, I’m looking for a method that can download audiobooks on Spotify in a format compatible with my PC, without compromising the quality. Read More
MS Access- Validation for post codes
Please help. I’ve been on this for 3-4 days now!
the postcodes are 4 digits… (data is in short text)
I’m trying to set up a validation rule : is null or like “####” to only enable number input or leave it blank.
no matter what I put in… numbers, letters, space… i’m getting the validation msg I set up (please enter 4 digit code)
even when I try to change the existing data (short text) same thing…
I got an error msg when trying to save this that existing data doesn’t match (seriously … just numbers in short text form)
I’m going outta my mind pls help
Please help. I’ve been on this for 3-4 days now!the postcodes are 4 digits… (data is in short text)I’m trying to set up a validation rule : is null or like “####” to only enable number input or leave it blank. no matter what I put in… numbers, letters, space… i’m getting the validation msg I set up (please enter 4 digit code) even when I try to change the existing data (short text) same thing… I got an error msg when trying to save this that existing data doesn’t match (seriously … just numbers in short text form) I’m going outta my mind pls help Read More
Parameter passing to KQL functions in Defender XDR – Body of the callable expression cannot be empty
Hi all,
In the name of maintainability, I’m trying to create functions so I don’t need to repeat myself in queries and they can all be maintained in one place.
For example, I’d like to create a function that maps a device name back to the last logged in user.
This works fine if its a query, (that is it returns results as expected if I call the function after the definition in the same file) e.g.
However, if i try saving this as a function, and then calling that from another query, I get this error:
Can anyone explain what I’m doing wrong? I’ve tried a simpler example, which also gives me the same error:
Can anyone identify what I’m doing wrong here?
Cheers,
Mitch
Hi all, In the name of maintainability, I’m trying to create functions so I don’t need to repeat myself in queries and they can all be maintained in one place. For example, I’d like to create a function that maps a device name back to the last logged in user. This works fine if its a query, (that is it returns results as expected if I call the function after the definition in the same file) e.g. However, if i try saving this as a function, and then calling that from another query, I get this error: Can anyone explain what I’m doing wrong? I’ve tried a simpler example, which also gives me the same error: Can anyone identify what I’m doing wrong here?Cheers, Mitch Read More
Android Device Enrollment Restriction- All Users Option Missing
We currently have a 3rd party MDM and are in the process of design and setup of the Intune solution. I wanted to create a default deny-all enrollment policy for personal devices until we get a solution developed so that personal smart devices don’t end up in Intune.
I set up the restriction policies for Windows, IOS and MacOS and assigned them to “All Users” just fine. When trying to do so for Android devices, the “All Users” option is missing. I have checked the all devices section and there are no devices enrolled.
Any thoughts? Thanks.
We currently have a 3rd party MDM and are in the process of design and setup of the Intune solution. I wanted to create a default deny-all enrollment policy for personal devices until we get a solution developed so that personal smart devices don’t end up in Intune. I set up the restriction policies for Windows, IOS and MacOS and assigned them to “All Users” just fine. When trying to do so for Android devices, the “All Users” option is missing. I have checked the all devices section and there are no devices enrolled. Any thoughts? Thanks. Read More
B2B Invite error
Hi,
Have been trying to invite some external users using the https://learn.microsoft.com/en-us/entra/external-id/bulk-invite-powershell.
When trying to run this line
$messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo
I get this error
New-Object: Cannot find type [Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo]: verify that the assembly containing this type is loaded.
I have tried uninstalling and reinstalling the Microsoft.Graph module.
Any ideas what I am doing wrong?
Thanks
Hi, Have been trying to invite some external users using the https://learn.microsoft.com/en-us/entra/external-id/bulk-invite-powershell.When trying to run this line $messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfoI get this errorNew-Object: Cannot find type [Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo]: verify that the assembly containing this type is loaded. I have tried uninstalling and reinstalling the Microsoft.Graph module.Any ideas what I am doing wrong? Thanks Read More
Navigation Pane drag and drop to move
I am at a loss to understand why Outlook (new) doesn’t provided for a drag and drop feature so as to move folders and subfolders for quick organization. Being a convert to Windows from Apple, I am surprised to say the least. Apple mail has had this feature since inception. If you have a lot of Sub-folders then it gets really confusing to move them manually. Please correct me if this feature is offered or if not, is Outlook doing anything about it?
I am at a loss to understand why Outlook (new) doesn’t provided for a drag and drop feature so as to move folders and subfolders for quick organization. Being a convert to Windows from Apple, I am surprised to say the least. Apple mail has had this feature since inception. If you have a lot of Sub-folders then it gets really confusing to move them manually. Please correct me if this feature is offered or if not, is Outlook doing anything about it? Read More
Copilot Pro just not working for outlook
Hi,
I got free trail for copilot pro sub, It seems I can see copilot on all the other apps (Word, PowerPoint, Excel) but can’t find it on Outlook, I am looking to purchase the full license but not able to test it.
Thanks,
Hi, I got free trail for copilot pro sub, It seems I can see copilot on all the other apps (Word, PowerPoint, Excel) but can’t find it on Outlook, I am looking to purchase the full license but not able to test it. Thanks, Read More
Insert COUNTA as a calculated field (pivot report)
Hello, I need help to insert a calculated field in a pivot report where the field counts notblank cells (see Number of yrs not blank). The point is to know for each donor how many years they have given. I am new to calculated field and I tried inserting COUNTA(b2:d2) in the formula field and it won’t accept it. Thanks!
Hello, I need help to insert a calculated field in a pivot report where the field counts notblank cells (see Number of yrs not blank). The point is to know for each donor how many years they have given. I am new to calculated field and I tried inserting COUNTA(b2:d2) in the formula field and it won’t accept it. Thanks! Read More
Prevent autoforwarding
I’ve been lookin at ways to reduce the risk of people setting up email auto-forwarding to external domains in exchange online. Appears to be a few ways and this site offers a few good options Block Email Auto-Forwarding to External Domain (admindroid.com)
However they all seem to offer a solution after the forwarder is setup.
Is there a way to prevent someone from even creating one in outlook to start with? For example I create a rule that forward everything to my gmail but before I can save it I get error saying against company policy and it blocks the creation of the rule in my outlook client in the first place.
I’ve been lookin at ways to reduce the risk of people setting up email auto-forwarding to external domains in exchange online. Appears to be a few ways and this site offers a few good options Block Email Auto-Forwarding to External Domain (admindroid.com)However they all seem to offer a solution after the forwarder is setup. Is there a way to prevent someone from even creating one in outlook to start with? For example I create a rule that forward everything to my gmail but before I can save it I get error saying against company policy and it blocks the creation of the rule in my outlook client in the first place. Read More
New Outlook for Windows: a guide for Executive Assistants and Delegates – part 3
This blog captures some mail tips to help executive assistants and delegates better navigate mailbox management in the new Outlook.
1. Mail filters and rules for executive admins
In the new Outlook, you can use the ‘has calendar invites’ email filter to easily find meeting invites.
You can also set up an ‘Email received for others’ rule for your executive’s account and automatically move it to a separate folder and categorize it as you like.
2. Drag and drop emails to create tasks
Effortlessly stay on top of things by dragging emails to My Day to turn them into tasks.
3. Pin emails for quick access
You can now pin an email to appear at the top of your inbox, saving you time from having to go back and search for it. Hover or right-click on the email and select ‘Pin’ to pin it.
4. Schedule when to send email
In today’s hybrid work world, your day might be someone else’s night, so you don’t want to send an email to someone in the middle of the night. With the new Outlook, it’s simple to send an email when you want to. Just select the dropdown arrow next to Send and choose Schedule send.
5. Snooze email
Sometimes an email is very important, but not yet. With the Snooze feature, you can schedule a time for the email to be re-delivered to your inbox, appearing at the time you want it to, so you can handle it when it’s the right time for you. Right-click any message and choose Snooze or select Snooze from the ribbon. Then choose the time you want it to be delivered.
Share feedback
We encourage you to try new Outlook and share your feedback. You can submit feedback on the new Outlook experience from Help > Feedback. Please mention – “I am an EA” Or “I am a delegate” when adding comments.
To stay updated with the latest features in new Outlook, follow the roadmap.
This guide will also be published as a support article that will be linked here once available.
Microsoft Tech Community – Latest Blogs –Read More
Alerts in Data Loss Prevention
Hi Guys.
I have 3 DLP policies created and active. The rules within the policies are configured to generate an alert for each match. In the Activity Explorer, I can see the generated matches, but when I go to the Alerts menu, no information is displayed. Similarly, when I try to view these alerts from the Security portal, they do not appear. My account is a Global Admin. Is there any additional configuration that needs to be done?”
Hi Guys. I have 3 DLP policies created and active. The rules within the policies are configured to generate an alert for each match. In the Activity Explorer, I can see the generated matches, but when I go to the Alerts menu, no information is displayed. Similarly, when I try to view these alerts from the Security portal, they do not appear. My account is a Global Admin. Is there any additional configuration that needs to be done?” Read More
Disable Windows Hello PIN for few devices
Hi Floks,
We want few devices to disable for Windows Hello PIN for customer needs,
we have tried below steps few
Method 1: Using Group policy settings.
Go to Computer Configuration -> Administrative Templates -> Windows Components -> BiometricsOn the right side, double-click on Allow the use of Biometrics and select Disabled.
Method 2: Disabling Windows Hello in Registry
As per few blogs we couldn’t find the below registry on those device
KEY_LOCAL_MACHINESOFTWAREMicrosoftPolicyManagerdefaultSettingsAllowSignInOptions
Even we have tried to apply and see via Intune to disable below settings. Any help how we can make disable via Intune. Thanks
Use Passport For Work (User)
TRUE
Use Passport For Work
TRUE
Hi Floks, We want few devices to disable for Windows Hello PIN for customer needs, we have tried below steps few Method 1: Using Group policy settings.Go to Computer Configuration -> Administrative Templates -> Windows Components -> BiometricsOn the right side, double-click on Allow the use of Biometrics and select Disabled.Method 2: Disabling Windows Hello in RegistryAs per few blogs we couldn’t find the below registry on those deviceKEY_LOCAL_MACHINESOFTWAREMicrosoftPolicyManagerdefaultSettingsAllowSignInOptionsEven we have tried to apply and see via Intune to disable below settings. Any help how we can make disable via Intune. Thanks Use Passport For Work (User)TRUEUse Passport For WorkTRUE Read More