Month: June 2024
Microsoft 365 Groups Email Notifications Delayed in Outlook
I’m experiencing an issue with Microsoft 365 Groups email notifications in Outlook on Windows 10/11. When an email is sent to a M365 Group, it is delivered, and I can open and read it without any issues. However, the problem is with the notification of unread emails.
Specifically, I do not receive a notification next to the group name in the left-hand navigation pane immediately after the email is delivered. If I don’t read the email and wait, the unread email count notification eventually appears, but it takes more than 30 minutes for the notification to show up.
There seems to be a noticeable delay between when an email is sent to a group and when the unread email notification is displayed in Outlook. Has anyone else encountered this issue, or is there a known solution?
I am seeing the same behaviour on different M365 Tenants.
I’m experiencing an issue with Microsoft 365 Groups email notifications in Outlook on Windows 10/11. When an email is sent to a M365 Group, it is delivered, and I can open and read it without any issues. However, the problem is with the notification of unread emails. Specifically, I do not receive a notification next to the group name in the left-hand navigation pane immediately after the email is delivered. If I don’t read the email and wait, the unread email count notification eventually appears, but it takes more than 30 minutes for the notification to show up. There seems to be a noticeable delay between when an email is sent to a group and when the unread email notification is displayed in Outlook. Has anyone else encountered this issue, or is there a known solution? I am seeing the same behaviour on different M365 Tenants. Read More
Why are Answers only showing in tenant search?
When we enable Microsoft Search Answers (Bookmarks, locations, Q&A…), they are only shown in the highest search level – Organization. Why is that?
If , for example, a users searches for an office location and search in the HR site on the Intranet, the user doesn’t get any result if he/she doesn’t move up in search hierarchy to Organization level.
This is not intuitive and in my and my colleagues opinions, make the features pretty useless.
When we enable Microsoft Search Answers (Bookmarks, locations, Q&A…), they are only shown in the highest search level – Organization. Why is that?If , for example, a users searches for an office location and search in the HR site on the Intranet, the user doesn’t get any result if he/she doesn’t move up in search hierarchy to Organization level. This is not intuitive and in my and my colleagues opinions, make the features pretty useless. Read More
Does Matlab’s integral function pass the integration variable to the function handle one scalar at a time or as a vector?
Hello,
My integrand function contains a sum that depends on the integration variable, as follows:
tau = 1;
T = 20;
q = integral(@(t) f(t,tau),0,T)
function y = f(t,tau)
N = 0:floor(t,tau)
for i = 1:length(N)
n = N(i);
y = y + g(n,mod(t,tau) + (n+1)*tau) – g(n,mod(t,tau) + n*tau);
end
Where g is some function.
I’m not sure if the integral function is handling it correctly, because if it passes a vector t, the sum will not iterate over the correct range.
I would really appreciate any insights!
Thanks!Hello,
My integrand function contains a sum that depends on the integration variable, as follows:
tau = 1;
T = 20;
q = integral(@(t) f(t,tau),0,T)
function y = f(t,tau)
N = 0:floor(t,tau)
for i = 1:length(N)
n = N(i);
y = y + g(n,mod(t,tau) + (n+1)*tau) – g(n,mod(t,tau) + n*tau);
end
Where g is some function.
I’m not sure if the integral function is handling it correctly, because if it passes a vector t, the sum will not iterate over the correct range.
I would really appreciate any insights!
Thanks! Hello,
My integrand function contains a sum that depends on the integration variable, as follows:
tau = 1;
T = 20;
q = integral(@(t) f(t,tau),0,T)
function y = f(t,tau)
N = 0:floor(t,tau)
for i = 1:length(N)
n = N(i);
y = y + g(n,mod(t,tau) + (n+1)*tau) – g(n,mod(t,tau) + n*tau);
end
Where g is some function.
I’m not sure if the integral function is handling it correctly, because if it passes a vector t, the sum will not iterate over the correct range.
I would really appreciate any insights!
Thanks! integral MATLAB Answers — New Questions
Why MATLAB gui not giving the values of Phase 4. even i change the input values but sit giving NAN.
Why MATLAB gui not giving the values of Phase 4. even i change the input values but sit giving NAN.Why MATLAB gui not giving the values of Phase 4. even i change the input values but sit giving NAN. Why MATLAB gui not giving the values of Phase 4. even i change the input values but sit giving NAN. matlab gui MATLAB Answers — New Questions
Does the T obtained from the PoseCamera2 in stereo calibration translate Camera 2 in the coordinate system where Camera1’s optical center is the origin, or Camera2’s ?
I want to know the poses and positions of two cameras through stereo calibration. Therefore, I prepared Camera 1 and Camera 2, ran the stereocalibrator in the app, and outputted the result with Camera 1’s optical center as the origin. The results are shown in the first image and values ① and ②. On the other hand, using the same images, I outputted the result with Camera 2’s optical center as the origin, which are shown in the second image and values ③ and ④.
From the first image:
R=[0.745, -0.192, 0.637; 0.188, 0.979, 0.0761; -0.639, 0.0633, 0.766]…①
T=[-1828, -46.8, 57.3]…②
From the second image:
R=[0.745, 0.188, -0.639; -0.192, 0.979, 0.0633; 0.637, 0.0761, 0.766]…③
T=[1406, -311, 1129]…④
Here, I will show the relationship equation taught by a MATLAB staff member before. If the position of Camera 1 is [R1, t1; 0 1], the position of Camera 2 is [R2, t2; 0 1], and PoseCamera2 is [R, T; 0 1], then the following relationship holds.
R1 = R * R2…⑤
t1 = R * t2 + T…⑥
I will verify if ⑥ is satisfied using the first image and ②, but since Camera 2 is not moved to Camera 1, it does not satisfy the equation. Similarly, verifying with the second image and ④, it is also not a reasonable result. However, when verifying with the first image and ④, that is, if you move Camera 2 in the first image by ④ in the coordinate system where Camera 2’s optical center is the origin, Camera 2 moves to the location of Camera 1 in the image. Similarly, if you move Camera 2 in the second image by ②, it aligns with Camera 1.
Additionally, the number of image pairs used during stereo calibration was 30, and the reprojection error was 0.23 pixels from either image.I want to know the poses and positions of two cameras through stereo calibration. Therefore, I prepared Camera 1 and Camera 2, ran the stereocalibrator in the app, and outputted the result with Camera 1’s optical center as the origin. The results are shown in the first image and values ① and ②. On the other hand, using the same images, I outputted the result with Camera 2’s optical center as the origin, which are shown in the second image and values ③ and ④.
From the first image:
R=[0.745, -0.192, 0.637; 0.188, 0.979, 0.0761; -0.639, 0.0633, 0.766]…①
T=[-1828, -46.8, 57.3]…②
From the second image:
R=[0.745, 0.188, -0.639; -0.192, 0.979, 0.0633; 0.637, 0.0761, 0.766]…③
T=[1406, -311, 1129]…④
Here, I will show the relationship equation taught by a MATLAB staff member before. If the position of Camera 1 is [R1, t1; 0 1], the position of Camera 2 is [R2, t2; 0 1], and PoseCamera2 is [R, T; 0 1], then the following relationship holds.
R1 = R * R2…⑤
t1 = R * t2 + T…⑥
I will verify if ⑥ is satisfied using the first image and ②, but since Camera 2 is not moved to Camera 1, it does not satisfy the equation. Similarly, verifying with the second image and ④, it is also not a reasonable result. However, when verifying with the first image and ④, that is, if you move Camera 2 in the first image by ④ in the coordinate system where Camera 2’s optical center is the origin, Camera 2 moves to the location of Camera 1 in the image. Similarly, if you move Camera 2 in the second image by ②, it aligns with Camera 1.
Additionally, the number of image pairs used during stereo calibration was 30, and the reprojection error was 0.23 pixels from either image. I want to know the poses and positions of two cameras through stereo calibration. Therefore, I prepared Camera 1 and Camera 2, ran the stereocalibrator in the app, and outputted the result with Camera 1’s optical center as the origin. The results are shown in the first image and values ① and ②. On the other hand, using the same images, I outputted the result with Camera 2’s optical center as the origin, which are shown in the second image and values ③ and ④.
From the first image:
R=[0.745, -0.192, 0.637; 0.188, 0.979, 0.0761; -0.639, 0.0633, 0.766]…①
T=[-1828, -46.8, 57.3]…②
From the second image:
R=[0.745, 0.188, -0.639; -0.192, 0.979, 0.0633; 0.637, 0.0761, 0.766]…③
T=[1406, -311, 1129]…④
Here, I will show the relationship equation taught by a MATLAB staff member before. If the position of Camera 1 is [R1, t1; 0 1], the position of Camera 2 is [R2, t2; 0 1], and PoseCamera2 is [R, T; 0 1], then the following relationship holds.
R1 = R * R2…⑤
t1 = R * t2 + T…⑥
I will verify if ⑥ is satisfied using the first image and ②, but since Camera 2 is not moved to Camera 1, it does not satisfy the equation. Similarly, verifying with the second image and ④, it is also not a reasonable result. However, when verifying with the first image and ④, that is, if you move Camera 2 in the first image by ④ in the coordinate system where Camera 2’s optical center is the origin, Camera 2 moves to the location of Camera 1 in the image. Similarly, if you move Camera 2 in the second image by ②, it aligns with Camera 1.
Additionally, the number of image pairs used during stereo calibration was 30, and the reprojection error was 0.23 pixels from either image. stereocalibration, calibration, posecamera2, stereoparameters MATLAB Answers — New Questions
Reset Entra ID User Password Playbook error “NotFound” | Microsoft Sentinel Automation
Dear all,
Has anyone ever used and activated the playbook ‘Reset-EntraIDUserPassword-EntityTrigger‘ and encountered a ‘NotFound‘ error as shown in the following image?
I want to activate this playbook as protection against the misuse of disabled Azure accounts and password brute-force attempts on Azure accounts. However, in the ‘HTTP – reset a password‘ step, there is a ‘NotFound’ error displaying the message ‘Resource ‘@’ does not exist or one of its queried reference-property objects are not present.
A little help and insight would be greatly appreciated.
Dear all,Has anyone ever used and activated the playbook ‘Reset-EntraIDUserPassword-EntityTrigger’ and encountered a ‘NotFound’ error as shown in the following image? I want to activate this playbook as protection against the misuse of disabled Azure accounts and password brute-force attempts on Azure accounts. However, in the ‘HTTP – reset a password’ step, there is a ‘NotFound’ error displaying the message ‘Resource ‘@’ does not exist or one of its queried reference-property objects are not present.A little help and insight would be greatly appreciated. Read More
How to Fix “This PC can’t run Windows 11” Error when booting from Install USB?
Hello everyone,
I’m having trouble installing Windows 11 from a bootable USB. Every time I try, I get an error message saying, “This PC can’t run Windows 11.” This pops up instantly after skipping the license key screen.
I’m not sure what the issue is, as I believe my hardware should be compatible with Windows 11. Has anyone else encountered this problem? Any advice on how to resolve it would be greatly appreciated.
Hello everyone,I’m having trouble installing Windows 11 from a bootable USB. Every time I try, I get an error message saying, “This PC can’t run Windows 11.” This pops up instantly after skipping the license key screen. I’m not sure what the issue is, as I believe my hardware should be compatible with Windows 11. Has anyone else encountered this problem? Any advice on how to resolve it would be greatly appreciated. Read More
Is it yet possible to remove the link to a Teams Recording from a chat?
Hello!
I’ve read previous posts on how to remove the Teams Meeting Recording list from a chat and it wasn’t possible – is it now?? My user has deleted the file from their OneDrive (Delete a meeting recording in Microsoft Teams – Microsoft Support)
but now wants to also delete the system generated link to the recording from the chat.
Hello! I’ve read previous posts on how to remove the Teams Meeting Recording list from a chat and it wasn’t possible – is it now?? My user has deleted the file from their OneDrive (Delete a meeting recording in Microsoft Teams – Microsoft Support) but now wants to also delete the system generated link to the recording from the chat. Read More
login failed for user sa sql server 2022 on windows server 2022
i got the login failed error for user sa, but not always
so I went to server properties – security – server authentication
change to windows authentication mode
and change again to sql server and windows authentication mode, and restart sql server. this happened when i upgraded to sql 2022,
I have Service Pack 13 installed, can anyone help?
i got the login failed error for user sa, but not alwaysso I went to server properties – security – server authenticationchange to windows authentication modeand change again to sql server and windows authentication mode, and restart sql server. this happened when i upgraded to sql 2022,I have Service Pack 13 installed, can anyone help? Read More
Make Timer in Simulink
Hello. I have 1 or 0 Signal coming as a input from my Ultrasonic Sensor. I want to make a Timer in simulink so that, if my input is 1 continuous for 5 seconds ,it gives me 1 at end, if not the timer starts again ,when 1 comes from the Sensor. I have Speed of Car and my distance. I wanted to integrate the distance to get time. Thankyou so much.Hello. I have 1 or 0 Signal coming as a input from my Ultrasonic Sensor. I want to make a Timer in simulink so that, if my input is 1 continuous for 5 seconds ,it gives me 1 at end, if not the timer starts again ,when 1 comes from the Sensor. I have Speed of Car and my distance. I wanted to integrate the distance to get time. Thankyou so much. Hello. I have 1 or 0 Signal coming as a input from my Ultrasonic Sensor. I want to make a Timer in simulink so that, if my input is 1 continuous for 5 seconds ,it gives me 1 at end, if not the timer starts again ,when 1 comes from the Sensor. I have Speed of Car and my distance. I wanted to integrate the distance to get time. Thankyou so much. simulink MATLAB Answers — New Questions
How to train ACF detector with groundTruthMultisignal object
I have labeled a data set of sonar images using the ground truth labler, and I want to use the lables in the trainACFObjectDetector function, to create a detector for further labeling. I used the ground truth labeler app because I can play a rgb video alongside the sonar feed, aiding with identifying objects in the sonar images. However the ground truth app producess a groundTruthMultisignal object, and I am unsure how to use this to train an ACF detector.
%% train acf detector
imds = sonar_files; % conatins path to each image
load("rec0gt.mat")
T = table(gTruth.ROILabelData.processed_sonar);
blds = boxLabelDatastore(T);
ds = combine(imds,blds);
acfDetector = trainACFObjectDetector(ds,NegativeSamplesFactor=2);I have labeled a data set of sonar images using the ground truth labler, and I want to use the lables in the trainACFObjectDetector function, to create a detector for further labeling. I used the ground truth labeler app because I can play a rgb video alongside the sonar feed, aiding with identifying objects in the sonar images. However the ground truth app producess a groundTruthMultisignal object, and I am unsure how to use this to train an ACF detector.
%% train acf detector
imds = sonar_files; % conatins path to each image
load("rec0gt.mat")
T = table(gTruth.ROILabelData.processed_sonar);
blds = boxLabelDatastore(T);
ds = combine(imds,blds);
acfDetector = trainACFObjectDetector(ds,NegativeSamplesFactor=2); I have labeled a data set of sonar images using the ground truth labler, and I want to use the lables in the trainACFObjectDetector function, to create a detector for further labeling. I used the ground truth labeler app because I can play a rgb video alongside the sonar feed, aiding with identifying objects in the sonar images. However the ground truth app producess a groundTruthMultisignal object, and I am unsure how to use this to train an ACF detector.
%% train acf detector
imds = sonar_files; % conatins path to each image
load("rec0gt.mat")
T = table(gTruth.ROILabelData.processed_sonar);
blds = boxLabelDatastore(T);
ds = combine(imds,blds);
acfDetector = trainACFObjectDetector(ds,NegativeSamplesFactor=2); acf detector, ground truth labeler app MATLAB Answers — New Questions
This function does not fully set the dimensions of output port 2
Hi, i am trying to write a design a fixed time disturbance observer for power estimation for a boost converter. But i keep getting this error: Error in default port dimensions function of S-function ‘boost_another_observer/MATLAB Function3’. This function does not fully set the dimensions of output port 2. Please help out 🙂
the code is as below:
function [sigma1_d,sigma2_d,sigma3_d,e1_est,d1_est,d1_d_est,d2_est,Pload_est] = observer(y2,e1,sigma1,sigma2,sigma3)
L1=8e3;
Ro=30;
Vcref=200;
C=1000e-6;
k1=0.5e3;
k2=0.5e3;
k3=3.5e4;
k4=3.5e4;
k5=50;
k6 = 50;
m1=0.8;
m2=0.6;
m3=0.4;
n1=1.2;
n2=1.4;
n3=1.6;
%% Observer design
sigma1_d=sigma2-k1*(abs(sigma1-e1)^m1)*sign(sigma1-e1)-k2*(abs(sigma1-e1)^n1)*sign(sigma1-e1)+y2;
sigma2_d=sigma3-k3*(abs(sigma1-e1)^m2)*sign(sigma1-e1)-k4*(abs(sigma1-e1)^n2)*sign(sigma1-e1);
sigma3_d=sigma3-k5*(abs(sigma1-e1)^m3)*sign(sigma1-e1)-k6*(abs(sigma1-e1)^n3)*sign(sigma1-e1);
%% Estimated values
e1_est=sigma1;
d1_est=sigma2;
d1_d_est=sigma3;
d2_est=-2*d1_est/(Ro*C);
Pload_est=-d1_est+Vcref^2/Ro-Vc^2/R+Vc^2/Ro;Hi, i am trying to write a design a fixed time disturbance observer for power estimation for a boost converter. But i keep getting this error: Error in default port dimensions function of S-function ‘boost_another_observer/MATLAB Function3’. This function does not fully set the dimensions of output port 2. Please help out 🙂
the code is as below:
function [sigma1_d,sigma2_d,sigma3_d,e1_est,d1_est,d1_d_est,d2_est,Pload_est] = observer(y2,e1,sigma1,sigma2,sigma3)
L1=8e3;
Ro=30;
Vcref=200;
C=1000e-6;
k1=0.5e3;
k2=0.5e3;
k3=3.5e4;
k4=3.5e4;
k5=50;
k6 = 50;
m1=0.8;
m2=0.6;
m3=0.4;
n1=1.2;
n2=1.4;
n3=1.6;
%% Observer design
sigma1_d=sigma2-k1*(abs(sigma1-e1)^m1)*sign(sigma1-e1)-k2*(abs(sigma1-e1)^n1)*sign(sigma1-e1)+y2;
sigma2_d=sigma3-k3*(abs(sigma1-e1)^m2)*sign(sigma1-e1)-k4*(abs(sigma1-e1)^n2)*sign(sigma1-e1);
sigma3_d=sigma3-k5*(abs(sigma1-e1)^m3)*sign(sigma1-e1)-k6*(abs(sigma1-e1)^n3)*sign(sigma1-e1);
%% Estimated values
e1_est=sigma1;
d1_est=sigma2;
d1_d_est=sigma3;
d2_est=-2*d1_est/(Ro*C);
Pload_est=-d1_est+Vcref^2/Ro-Vc^2/R+Vc^2/Ro; Hi, i am trying to write a design a fixed time disturbance observer for power estimation for a boost converter. But i keep getting this error: Error in default port dimensions function of S-function ‘boost_another_observer/MATLAB Function3’. This function does not fully set the dimensions of output port 2. Please help out 🙂
the code is as below:
function [sigma1_d,sigma2_d,sigma3_d,e1_est,d1_est,d1_d_est,d2_est,Pload_est] = observer(y2,e1,sigma1,sigma2,sigma3)
L1=8e3;
Ro=30;
Vcref=200;
C=1000e-6;
k1=0.5e3;
k2=0.5e3;
k3=3.5e4;
k4=3.5e4;
k5=50;
k6 = 50;
m1=0.8;
m2=0.6;
m3=0.4;
n1=1.2;
n2=1.4;
n3=1.6;
%% Observer design
sigma1_d=sigma2-k1*(abs(sigma1-e1)^m1)*sign(sigma1-e1)-k2*(abs(sigma1-e1)^n1)*sign(sigma1-e1)+y2;
sigma2_d=sigma3-k3*(abs(sigma1-e1)^m2)*sign(sigma1-e1)-k4*(abs(sigma1-e1)^n2)*sign(sigma1-e1);
sigma3_d=sigma3-k5*(abs(sigma1-e1)^m3)*sign(sigma1-e1)-k6*(abs(sigma1-e1)^n3)*sign(sigma1-e1);
%% Estimated values
e1_est=sigma1;
d1_est=sigma2;
d1_d_est=sigma3;
d2_est=-2*d1_est/(Ro*C);
Pload_est=-d1_est+Vcref^2/Ro-Vc^2/R+Vc^2/Ro; disturbance observer, simulink, matlab, sliding mode control, boost converter MATLAB Answers — New Questions
How to create Windows 11 Installation media?
Hey there, tech enthusiasts!
I hope you’re all doing well. I really need some guidance for creating a Windows 11 installation media. I’m planning to install Windows 11 on my PC, but I’m not entirely sure about the steps involved in creating the installation media.
Could someone provide me with a step-by-step guide on how to create the Windows 11 installation media with the USB drive? Additionally, if there are any specific requirements or things I should be aware of before starting the process, please let me know.
Thank you in advance for your help!
Hey there, tech enthusiasts! I hope you’re all doing well. I really need some guidance for creating a Windows 11 installation media. I’m planning to install Windows 11 on my PC, but I’m not entirely sure about the steps involved in creating the installation media. Could someone provide me with a step-by-step guide on how to create the Windows 11 installation media with the USB drive? Additionally, if there are any specific requirements or things I should be aware of before starting the process, please let me know. Thank you in advance for your help! Read More
Creating a form and/or power app timesheet
I have a design question, more so than coding:
I am trying to think of a way to create a timesheet in SharePoint lists that runs concurrently with someone in the field, while they are working, to capture their work hours with the following aspects: (I think these are essentially list column headers?)
Yes/no buttons for various thingsStart time as a “driving time” button (not as a time input) that generates a timestamp based on local time zone.A “non-driving time” start and stop button + time stamp for bothA “non-work time” start and stop button + time stamp for bothA “finish shift” button that ends that rowA “new shift” button that starts a new row using the persons name (or their login)
I have started to build some lists which do kind of work, but I am not sure how to get the time stamp and new rows to generate?
I have a design question, more so than coding:I am trying to think of a way to create a timesheet in SharePoint lists that runs concurrently with someone in the field, while they are working, to capture their work hours with the following aspects: (I think these are essentially list column headers?)Yes/no buttons for various thingsStart time as a “driving time” button (not as a time input) that generates a timestamp based on local time zone.A “non-driving time” start and stop button + time stamp for bothA “non-work time” start and stop button + time stamp for bothA “finish shift” button that ends that rowA “new shift” button that starts a new row using the persons name (or their login)I have started to build some lists which do kind of work, but I am not sure how to get the time stamp and new rows to generate? Read More
Interaction
When you go to the interaction section, nothing appears as it seems to be loading, I changed the browser and refreshed the page, but the problem still persists
When you go to the interaction section, nothing appears as it seems to be loading, I changed the browser and refreshed the page, but the problem still persists Read More
Possible to save Facebook videos on my computer?
I came across a few nice Facebook videos and they are all public available (no copyright issue). I want to save those facebook videos for offline watching but the download option is not there. I’ve tried a couple of online tools, but none of them seem to work properly. Can someone guide me on the best way to save or download videos from Facebook?
Any tips or reliable tools you recommend would be greatly appreciated.
Best regards,
Philips
I came across a few nice Facebook videos and they are all public available (no copyright issue). I want to save those facebook videos for offline watching but the download option is not there. I’ve tried a couple of online tools, but none of them seem to work properly. Can someone guide me on the best way to save or download videos from Facebook? Any tips or reliable tools you recommend would be greatly appreciated. Best regards,Philips Read More
Join us in July for Securing AI Apps on Azure!
Join us in July for a series of free live-streams sharing best practices for securing your AI apps on Azure. You’ll learn about managed identity (keyless authentication), user sign-in with Microsoft Entra (for both internal and public-facing apps), data access control for RAG apps, and deployment of a RAG app to a fully private network.
Check out the session details below, or register for the entire series now. And don’t worry, if you miss a session, you can catch up on the YouTube recording after.
Using Keyless Auth with Azure AI Services
July 2nd, 2024
5:00 PM – 6:00 PM (UTC)
Ready to go keyless and never worry about compromised keys again? All the Azure AI services support keyless authentication using role-based access control, making it possible for you to authenticate to the services with either your logged in local user identity or your deployed app’s managed identity. We’ll show you how to use keyless authentication with Azure OpenAI, demonstrating how to set up the access controls in the Portal, with the Azure CLI, or with infrastructure-as-code (Bicep). Then we’ll connect to that Azure OpenAI service in our application code, using both the OpenAI SDK and the popular Langchain SDK. Our examples will be in Python, but you can use keyless auth with most modern OpenAI packages. Join us to go keyless today! Part of our Reactor series on Securing AI Apps on Azure!
Add User Login to AI Apps using Built-in Auth
July 8, 2024
5:00 PM – 6:00 PM (UTC)
Building an AI app on Azure and want to know the easiest way to let users sign-in? We’ll show you how to setup built-in authentication on Azure App Service and Azure Container Apps. With built-in auth, employees can sign-in to either a workforce tenant or, thanks to Entra External ID, consumers can sign-in with a one-time passcode, username/password, or Google/Facebook login. Then your Azure app can display user details like their name, with minimal code changes. We’ll demonstrate how to setup built-in auth to your apps using either the Graph SDK and the newly released Graph Bicep provider, and provide links to samples with full code provided.
Add User Login to AI Apps using MSAL SDK
July 9, 2024
7:00 PM – 8:00 PM (UTC)
Need a user sign-in feature for your AI app? We’ll show you how to setup an OAuth2 OIDC flow in Python using the the MSAL SDK with the open source identity package. You can use this approach to either enable employees to sign-in to a workforce tenant or, thanks to Entra External ID, let customers sign-in with a one-time passcode, username/password, or Google/Facebook login. Then your app can use user details from the Graph SDK, like their name and email. We’ll also demonstrate how to automate the creation of Microsoft Entra applications using the Graph SDK.
Handling User Auth for a SPA App on Azure
July 10, 2024
7:00 PM – 8:00 PM (UTC)
Many modern web applications use a SPA architecture: a single-page web app for the frontend and an API for the backend. In this talk, we’ll discover how you can add user authentication to a SPA app using Microsoft Entra, using the MSAL.JS SDK on the frontend and the MSAL Python SDK on the backend. Learn how to set up Entra applications correctly, one for the client and one for the server, and how to use the on-behalf-of-flow on the server for handling tokens sent from the client. Our example application will be an AI RAG application with a React frontend and Python backend, but you can apply the same principles to any SPA applications that need user authentication.
Data Access Control for AI RAG Apps on Azure
July 17, 2024
7:00 PM – 8:00 PM (UTC)
If you’re trying to get an LLM to accurately answer questions about your own documents, you need RAG: Retrieval Augmented Generation. With a RAG approach, the app first searches a knowledge base for relevant matches to a user’s query, then sends the results to the LLM along with the original question. What if you have documents that should only be accessed by a subset of your users, like a group or a single user? Then you need data access controls to ensure that document visibility is respected during the RAG flow. In this session, we’ll show an approach using Azure AI Search with data access controls to only search the documents that can be seen by the logged in user. We’ll also demonstrate a feature for user-uploaded documents that uses data access controls along with Azure Data Lake Storage Gen2.
Deploying an AI App to a Private Network on Azure
July 25, 2024
11:00 PM – 12:00 AM (UTC)
To ensure that your AI app can only be accessed within your enterprise network, you should deploy it to an Azure virtual network with private endpoints for each Azure service used. In this session, we’ll show how to deploy an AI RAG application to a virtual network that includes App Service, AI Search, OpenAI, Document Intelligence, and Blob storage, and we’ll do it entirely with infrastructure-as-code (Bicep) so that you can do the same deployment. Then we’ll log in to the virtual network using Azure Bastion with a virtual machine to demonstrate that we can access the RAG app from inside the network, and only inside the network.
Microsoft Tech Community – Latest Blogs –Read More
Try out SLMs with Ollama in GitHub Codespaces
If you haven’t tried it already, Ollama is a great tool built on top of llama.cpp that makes it easier to run small language models (SLMs) like Phi-3 and Llama3-8B on your own machine, even if your personal computer has no GPU or has an ARM chip. Ollama provides both a command-line interface to chat with the language model, as well as an OpenAI-compatible chat completion endpoint.
What if your personal computer can’t run Ollama for some reason, like if you’re using a ChromeBook or iPad without the ability to install? GitHub Codespaces to the rescue! Codespaces is a way to open any GitHub repository in the browser, inside a web-based VS Code running a containerized development environment, all customizable via a devcontainer.json file.
We can add Ollama to the Codespace for a repository by adding this community-created feature in devcontainer.json:
“features”: {
“ghcr.io/prulloac/devcontainer-features/ollama:1”: {}
},
Once we open a repository with that feature added, we can open the terminal of the Codespace in the browser and run a model from the Ollama models catalog:
We can also call that Ollama server programmatically, either via its standard endpoint or via its OpenAI-compatible endpoint using an OpenAI SDK:
import openai
client = openai.OpenAI(
base_url=”http://localhost:11434/v1″,
api_key=”nokeyneeded”,
)
response = client.chat.completions.create(
model=”phi3:mini”,
messages=[
{“role”: “system”, “content”: “You are a helpful assistant.”},
{“role”: “user”, “content”: “Write a haiku about a hungry cat”},
],
)
print(response.choices[0].message.content)
Ollama Python Playground
To make it easy for you to get started using Ollama with Python, open the Codespace for this repository:
https://github.com/pamelafox/ollama-python-playground/
That repo includes the Ollama feature, OpenAI SDK, a notebook with demonstrations of few-shot and RAG, and a Python script for an interactive chat. It’s designed to be a helpful resource for teachers and students who want a quick and easy way to get started with small language models.
Ollama C# Playground
If you want to use Ollama from .NET instead, open this C# playground in Codespaces:
https://github.com/elbruno/Ollama-CSharp-Playground
That repo also includes sample code for common tasks with the SLMs. Bruno put together a video walking through it as well:
Phi-3 CookBook
We’ve also added the Ollama feature to the Phi-3Cookbook repository:
https://github.com/microsoft/Phi-3CookBook
If you open that repo in a GitHub Codespace, then you can use Ollama while reading through the guides. Of course, there is a limit to what you can do in a Codespace, due to the lack of a GPU and general resource constraints. Ollama does a great job optimizing for those scenarios, but that cookbook also contains Jupyter notebooks that use the transformers package, which is not optimized for the non-GPU case. When I tried to run the Phi-3 inference notebook, it took my Codespace a full 1.5 hours to complete the inference. :face_screaming_in_fear:
We hope that this lowers the barrier even more for everyone interested in trying out small language models! Let us know in the comments if you’ve added Ollama support to any repositories or if you have other ways that you like to experiment with small language models.
Microsoft Tech Community – Latest Blogs –Read More
Why do I see the error message “unable to resolve this name ‘slcontrollib.internal.siginject.perturbationType.ADD'”
Why do I see the error message "unable to resolve this name ‘slcontrollib.internal.siginject.perturbationType.ADD’" in reduce order modeling using ROM app while run simulation in R2023b matlabWhy do I see the error message "unable to resolve this name ‘slcontrollib.internal.siginject.perturbationType.ADD’" in reduce order modeling using ROM app while run simulation in R2023b matlab Why do I see the error message "unable to resolve this name ‘slcontrollib.internal.siginject.perturbationType.ADD’" in reduce order modeling using ROM app while run simulation in R2023b matlab rom, simulation, ai MATLAB Answers — New Questions