Author: PuTI
Application Pool Does Not Recycle at Defined Conditions
Have you ever wondered why the Application Pool sometimes fails to recycle according to the specified conditions, such as regular time intervals or specific schedules? There can be various reasons behind this unexpected behavior. In this article, we will explore the most common causes of this issue.
Problem
For the context of this discussion, we have set the recycling condition to occur every 60 minutes. Ideally, the Application Pool should recycle automatically at these regular intervals.
We can confirm the recycling event in the system event logs. As illustrated in the image below, there is an event from the WAS source indicating that the worker process with the process ID ‘<process id of the w3wp.exe>’, serving the application pool ‘<application pool name>’, has requested a recycle because it reached its allowed processing time limit.
However, in some cases, this event may not appear, or the Application Pool does not recycle at the scheduled time or under the specified conditions. The most common reason for this is that the worker process may have already shut down due to inactivity or other factors. To verify this, check the advanced settings of the Application Pool and review the Idle Time-out setting.
Now, look for events from the WAS source to see if there is an entry stating, “A worker process with process ID ‘<process id>’ serving application pool ‘<application pool name>’ was shut down due to inactivity. Application Pool timeout configuration was set to 20 minutes. A new worker process will be started when needed.”
You should also verify if there were no requests made between the time the application pool shut down and the scheduled recycle time. This will confirm that no worker process was running to service requests during that period. You can check this by reviewing the IIS logs. While I won’t go into detail here, analyzing IIS logs could be a separate topic for discussion.
Cause
In summary, if no worker process is running, the recycling conditions for regular intervals or specific times won’t trigger a recycle of the application pool.
Conclusion
In conclusion, understanding why an Application Pool may not recycle according to its defined conditions requires a comprehensive review of several factors. Various issues can prevent this from happening as expected. The most common cause is the shutdown of the worker process due to inactivity, which can result in the application pool not recycling at the scheduled time.
By checking the system event logs for relevant events and verifying the Idle Time-out settings in the Application Pool’s advanced settings, you can identify whether inactivity or other issues are affecting the recycling process. Additionally, reviewing IIS logs to confirm that no requests were made between the shutdown and scheduled recycle time will help ensure that no worker process was available to handle requests.
Ultimately, if no worker process is running, the application pool’s recycling conditions will not be triggered, thus preventing the recycle from occurring. Addressing these issues and ensuring proper configuration can help maintain the reliability and performance of your application pool.
Microsoft Tech Community – Latest Blogs –Read More
How to fix Failed to Load API Definition error in SwaggerUI when hosting an ASP.NET Core API in IIS
When hosting an ASP.NET Core API, it’s not uncommon to encounter the “Failed to load API definition” error in SwaggerUI. This article will explore the reasons behind this error and provide steps to resolve it.
Problem
You have an ASP.NET Core API with Swagger OpenAPI, and used the following code snippet to add and configure Swagger middleware.
//adding swagger middleware
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
//enable the middleware for serving the generated JSON document and the Swagger UI,
app.UseSwagger();
app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint(“/swagger/v1/swagger.json”, “DemoAPI v1”);
});
After deploying the application in IIS as a site, everything works fine, and Swagger UI functions correctly. However, when the same application is deployed under an existing site as an application, you start encountering the “Failed to load API definition” error. In the example below, the API is hosted under the “ExceptionLab” site and is listening on port 82.
Browsing the Swagger endpoint of the API results in the “Failed to load API definition” error.
Cause
The root cause of this issue lies in the Swagger Endpoint definition. If you inspect it in the developer console, you’ll see a 404 error indicating that /swagger/v1/swagger.json was not found.
The Swagger UI is correctly pointing to localhost:82/API, but the page is trying to retrieve the swagger.json from the parent site, which causes the error.
Solution
Resolving this issue is straightforward. You need to update the Swagger endpoint definition. You can either remove the SwaggerEndpoint entirely and allow the application to determine the correct URL automatically (though this removes customization options), or you can update the endpoint as follows:
app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint(“../swagger/v1/swagger.json”, “DemoAPI v1”);
});
Add two extra dots “..” at the beginning of the path, as shown in the example above. This adjustment should resolve the “Failed to load API definition” error by accurately pointing to the swagger.json file, ensuring that SwaggerUI loads correctly.
Microsoft Tech Community – Latest Blogs –Read More
Application Initialization in IIS
Introduction
While many customers know that application takes a little time after they are pushed with new set of code/release but are not aware of mitigating this to make the application highly available and reliable. Usually, Web applications often face challenges related to slow startup times, especially when deployed in environments where resources are allocated dynamically or when applications are not frequently accessed. Microsoft introduced the Application Initialization feature in IIS 8.0 to address this issue. This feature ensures that your applications are always ready to serve requests, providing a smoother and faster user experience. Let’s look at this in more detail.
Let’s figure out what the Application Initialization is:
Application Initialization is a feature in Internet Information Services (IIS) that preloads applications before they receive any traffic. This preloading helps to avoid delays that typically occur when the first user accesses the application, particularly after a restart or deployment. By proactively warming up your application, you can minimize the wait time for users, leading to improved performance and user satisfaction.
Let’s review it’s properties now:
PreloadEnabled Setting –
The PreloadEnabled setting is important in enabling the Application Initialization feature. When set to true, IIS will automatically start the application and keep it in a ready state, even if there is no incoming traffic.
This feature is particularly useful for applications with heavy startup processes, such as those requiring multiple service initializations or database connections.
Warm-Up Requests
IIS allows administrators to configure warm-up requests that simulate user access to the application. This means that specific pages or endpoints can be requested to ensure that all necessary components are loaded and initialized.
For flexibility, these warm-up requests are customizable, allowing administrators to define which URLs should be accessed during the initialization process.
Custom Initialization Actions
Application Initialization supports custom initialization actions, enabling you to perform specific tasks during the application startup. These actions can include preloading dependencies, running scripts, or executing other startup logic to ensure the application is fully operational when accessed.
By utilizing custom actions, you can further optimize the startup process, ensuring that critical components are ready before users interact with the application.
We will now review Benefits of Application Initialization
Improved User Experience
Consider you have an application which is highly available and can accommodate frequent changes. This may lead to high response time whenever a new deployment goes in. To improve the user experience, enabling application Initialization, users will no longer have to wait for the application to start up. Instead, they experience near-instantaneous responses, which is crucial for maintaining high levels of user satisfaction.
Increased Reliability
By ensuring that the application is fully loaded and operational before handling requests, you reduce the risk of errors or delays caused by uninitialized components. This leads to a more stable and reliable application.
Better Resource Management
Application Initialization allows for better resource management by keeping applications ready without consuming excessive resources. This balance between readiness and resource utilization is key in maintaining optimal server performance.
Configuring Application Initialization in IIS
To configure Application Initialization, you’ll need to modify the applicationHost.config/website’s web.config file or use the IIS Manager UI:
1. Enable the Feature
In IIS Manager, navigate to the desired application, and open the “Application Initialization” feature. Set the Preload Enabled option to True.
2. Configure Warm-Up URLs
Define specific URLs to be accessed during the warm-up phase. These URLs should be selected based on the components that need to be initialized.
3. Add Custom Initialization Actions
If your application requires additional startup logic, you can add custom initialization actions by editing the configuration file or using the IIS Manager.
Refer the screenshot, where I am trying to set it up in the web.config.
Please note that the changes can be made to Applicationhost.config by just selectin it from the dropdown. The benefit of this moving to Applicationhost.config is when you are having the continuous deployment and your web.config is also updated then this setting would not be affected at all.
The detail description of all these settings can be found here.
Application Initialization <applicationInitialization> | Microsoft Learn
In addition to application initialization, you can enable the initialization process to start whenever the application pool is started. You do so by setting the preLoadEnabled attribute in the <application> element to “true”. For this to occur, the start mode in the <applicationPool> element must be set to AlwaysRunning.
IIS 8.0 Application Initialization | Microsoft Learn
What we learnt:
Application Initialization in IIS is a powerful tool that enhances the user experience by ensuring that applications are always ready to handle requests. By preloading applications and allowing for custom warm-up actions, this feature minimizes delays and improves the overall performance of web applications. Whether you’re managing a high-traffic site or an internal application, enabling Application Initialization is a step towards better reliability and user satisfaction.
Microsoft Tech Community – Latest Blogs –Read More
Fetching Windows Auth User ID Issue in Python Flask Application on IIS with HttpPlatformHandler
Problem : Deploying Python Flask applications on IIS can be a smooth process, but occasionally, issues arise that require careful troubleshooting. One such issue involves the failure of a Flask application to retrieve the Windows Authentication user ID when using the HttpPlatformHandler. Please note that retrieving the user details was successful using WFastCGI but not with HttpPlatformHandler. Let’s see how we can fetch the user details in such scenario.
Few Pointers :
Move to HttpPlateFormHandlers form WFastCGI: WFastCGI is no longer maintained. Refer to this.
Configure Python web apps for IIS – Visual Studio (Windows) | Microsoft Learn
Configuration Adjustment:
A key step was enabling the ForwardWindowsAuthToken option in the HttpPlatformHandler configuration. This setting forwards the Windows Authentication token to the application, allowing it to be accessed and processed within the code.
Code Implementation:
After adjusting the configuration, you can update the Flask application code to fetch the Windows Authentication user ID. The following code snippet demonstrates how this was done:
from flask import Flask, request, render_template
import os
import win32api
import win32security
def create_app():
app = Flask(__name__)
@app.route(“/”)
def hello_world():
s_vars = request.environ
user = os.environ.get(‘USERNAME’)
handle_str = request.headers[‘x-iis-windowsauthtoken’]
handle = int(handle_str,16)
win32security.ImpersonateLoggedOnUser(handle)
user1 = win32api.GetUserName()
win32api.CloseHandle(handle)
return f”Hello World!: {user1}”
return app
This code snippet demonstrates how to use the win32api and win32security modules to impersonate the logged-on user and retrieve their username. The important element here is the x-iis-windowsauthtoken header, which contains the Windows Authentication token passed on by the HttpPlatformHandler.
Ensure Dependencies:
Please ensure that the pywin32 package is installed, as it provides the necessary functionality to interact with Windows APIs within the Python environment.
For further information, refer to the following resources:
Configure Web Apps for IIS in Python
HttpPlatformHandler Configuration Reference
Microsoft Tech Community – Latest Blogs –Read More
Logging cmd in multiple diary
Hi,
i’m facing an issue in logging using the matlab ‘diary’ functionality. In the below pseudo-code i have 2 tools and both use diary to log the command window output and one is calling other. The diary off for 2nd tool is terminating the diary for the 1st tool as well due to which the remaining cmd display is not getting logged anywhere.
Here is how the logs are:
Is there a way to use ‘diary’ or some other functionality that would help is logging the command window output for the beow example ?
logger1();
function logger1()
logName = fullfile(pwd, ‘log1.txt’);
diary(logName);
fprintf(‘Initialzing logger 1n’);
fprintf(‘Display Message 1n’);
logger2;
fprintf(‘Display Message 2n’);
fprintf(‘End Logn’);
diary off
end
function logger2()
logName = fullfile(pwd, ‘log2.txt’);
diary(logName);
fprintf(‘Initialzing logger 2n’);
fprintf(‘Display Message 1n’);
fprintf(‘End Logn’);
diary off
endHi,
i’m facing an issue in logging using the matlab ‘diary’ functionality. In the below pseudo-code i have 2 tools and both use diary to log the command window output and one is calling other. The diary off for 2nd tool is terminating the diary for the 1st tool as well due to which the remaining cmd display is not getting logged anywhere.
Here is how the logs are:
Is there a way to use ‘diary’ or some other functionality that would help is logging the command window output for the beow example ?
logger1();
function logger1()
logName = fullfile(pwd, ‘log1.txt’);
diary(logName);
fprintf(‘Initialzing logger 1n’);
fprintf(‘Display Message 1n’);
logger2;
fprintf(‘Display Message 2n’);
fprintf(‘End Logn’);
diary off
end
function logger2()
logName = fullfile(pwd, ‘log2.txt’);
diary(logName);
fprintf(‘Initialzing logger 2n’);
fprintf(‘Display Message 1n’);
fprintf(‘End Logn’);
diary off
end Hi,
i’m facing an issue in logging using the matlab ‘diary’ functionality. In the below pseudo-code i have 2 tools and both use diary to log the command window output and one is calling other. The diary off for 2nd tool is terminating the diary for the 1st tool as well due to which the remaining cmd display is not getting logged anywhere.
Here is how the logs are:
Is there a way to use ‘diary’ or some other functionality that would help is logging the command window output for the beow example ?
logger1();
function logger1()
logName = fullfile(pwd, ‘log1.txt’);
diary(logName);
fprintf(‘Initialzing logger 1n’);
fprintf(‘Display Message 1n’);
logger2;
fprintf(‘Display Message 2n’);
fprintf(‘End Logn’);
diary off
end
function logger2()
logName = fullfile(pwd, ‘log2.txt’);
diary(logName);
fprintf(‘Initialzing logger 2n’);
fprintf(‘Display Message 1n’);
fprintf(‘End Logn’);
diary off
end diary, logging MATLAB Answers — New Questions
Handling memory when working with very huge data (.mat) files.
I am working with two 5D arrays (A5D and B5D) saved in a big_mat_file.mat file. The size of these arrays is specified in the code below. I want to perform three simple operations on these matrices, as shown in the code. I have access to my university’s computing cluster. When I run the following code with 120 workers and 400GB of memory, I receive the following error
In distcomp/remoteparfor/handleIntervalErrorResult (line 245) In distcomp/remoteparfor/getCompleteIntervals (line 395) In parallel_function>distributed_execution (line 746) In parallel_function (line 578)
Can someone please help me understanding what is causing this error. Is it because of low memory? It there anyother way to do the following operattions?
clear; clc;
load("big_mat_file.mat");
% it has two very huge 5D arrays "A5D" and "B5D", and two small arrays "as" and "bs"
% size of both A5D and B5D is [41 16 8 80 82]
% size of "as" is [1 80] and size of "bs" is [1 82]
xs = -12:0.1:12;
NX = length(xs);
ys = 0:0.4:12;
NY = length(ys);
total_iterations = NX * NY;
results = zeros(total_iterations , 41 , 16, 8);
XXs = zeros(total_iterations, 1);
YYs = zeros(total_iterations, 1);
parfor idx = 1:total_iterations
[ix, iy] = ind2sub([NX, NY], idx);
x = xs(ix);
y = ys(iy);
term1 = 1./(exp(1/y*(A5D-x)) + 10); %operation 1
to_integrate = B5D.*term1; %operation 2
XXs(idx) = x;
YYs(idx) = y;
results(idx, :, :, 🙂 = trapz(as,trapz(bs,to_integrate,5),4); %operation 3
end
XXs = reshape(XXs, [NX, NY]);
YYs = reshape(YYs, [NX, NY]);
results = reshape(results, [NX, NY, 41, 16, 8]);
clear A5D B5D
save(‘saved_data.mat’,’-v7.3′);I am working with two 5D arrays (A5D and B5D) saved in a big_mat_file.mat file. The size of these arrays is specified in the code below. I want to perform three simple operations on these matrices, as shown in the code. I have access to my university’s computing cluster. When I run the following code with 120 workers and 400GB of memory, I receive the following error
In distcomp/remoteparfor/handleIntervalErrorResult (line 245) In distcomp/remoteparfor/getCompleteIntervals (line 395) In parallel_function>distributed_execution (line 746) In parallel_function (line 578)
Can someone please help me understanding what is causing this error. Is it because of low memory? It there anyother way to do the following operattions?
clear; clc;
load("big_mat_file.mat");
% it has two very huge 5D arrays "A5D" and "B5D", and two small arrays "as" and "bs"
% size of both A5D and B5D is [41 16 8 80 82]
% size of "as" is [1 80] and size of "bs" is [1 82]
xs = -12:0.1:12;
NX = length(xs);
ys = 0:0.4:12;
NY = length(ys);
total_iterations = NX * NY;
results = zeros(total_iterations , 41 , 16, 8);
XXs = zeros(total_iterations, 1);
YYs = zeros(total_iterations, 1);
parfor idx = 1:total_iterations
[ix, iy] = ind2sub([NX, NY], idx);
x = xs(ix);
y = ys(iy);
term1 = 1./(exp(1/y*(A5D-x)) + 10); %operation 1
to_integrate = B5D.*term1; %operation 2
XXs(idx) = x;
YYs(idx) = y;
results(idx, :, :, 🙂 = trapz(as,trapz(bs,to_integrate,5),4); %operation 3
end
XXs = reshape(XXs, [NX, NY]);
YYs = reshape(YYs, [NX, NY]);
results = reshape(results, [NX, NY, 41, 16, 8]);
clear A5D B5D
save(‘saved_data.mat’,’-v7.3′); I am working with two 5D arrays (A5D and B5D) saved in a big_mat_file.mat file. The size of these arrays is specified in the code below. I want to perform three simple operations on these matrices, as shown in the code. I have access to my university’s computing cluster. When I run the following code with 120 workers and 400GB of memory, I receive the following error
In distcomp/remoteparfor/handleIntervalErrorResult (line 245) In distcomp/remoteparfor/getCompleteIntervals (line 395) In parallel_function>distributed_execution (line 746) In parallel_function (line 578)
Can someone please help me understanding what is causing this error. Is it because of low memory? It there anyother way to do the following operattions?
clear; clc;
load("big_mat_file.mat");
% it has two very huge 5D arrays "A5D" and "B5D", and two small arrays "as" and "bs"
% size of both A5D and B5D is [41 16 8 80 82]
% size of "as" is [1 80] and size of "bs" is [1 82]
xs = -12:0.1:12;
NX = length(xs);
ys = 0:0.4:12;
NY = length(ys);
total_iterations = NX * NY;
results = zeros(total_iterations , 41 , 16, 8);
XXs = zeros(total_iterations, 1);
YYs = zeros(total_iterations, 1);
parfor idx = 1:total_iterations
[ix, iy] = ind2sub([NX, NY], idx);
x = xs(ix);
y = ys(iy);
term1 = 1./(exp(1/y*(A5D-x)) + 10); %operation 1
to_integrate = B5D.*term1; %operation 2
XXs(idx) = x;
YYs(idx) = y;
results(idx, :, :, 🙂 = trapz(as,trapz(bs,to_integrate,5),4); %operation 3
end
XXs = reshape(XXs, [NX, NY]);
YYs = reshape(YYs, [NX, NY]);
results = reshape(results, [NX, NY, 41, 16, 8]);
clear A5D B5D
save(‘saved_data.mat’,’-v7.3′); parfor, for loop, performance MATLAB Answers — New Questions
Monitor and Notify Security Changes on a Team
We have a couple of teams that are only for executive team members. Is there a way I can monitor security changes within a Team? It could be a Power Automate or use other tools.
We have a couple of teams that are only for executive team members. Is there a way I can monitor security changes within a Team? It could be a Power Automate or use other tools. Read More
Sort data in PowerPoint table – Feature Request
Sorting tabular data is available in:
ExcelWord (Layout > Data > Sort)Outlook (Layout > Data > Sort)OneNote (Table > Data > Sort)
But not in PowerPoint? Surely this can be added to PowerPoint?
Sorting tabular data is available in:ExcelWord (Layout > Data > Sort)Outlook (Layout > Data > Sort)OneNote (Table > Data > Sort)But not in PowerPoint? Surely this can be added to PowerPoint? Read More
Migration Tool Access and moving old videos
We noticed some of our videos hadn’t been moved yet and went to try and fix it via the migration tool and we don’t seem to be able to do so now.
Is the tool decommissioned already and and is there anything we can do?
We noticed some of our videos hadn’t been moved yet and went to try and fix it via the migration tool and we don’t seem to be able to do so now. Is the tool decommissioned already and and is there anything we can do? Read More
Please clarify, applies to Microsoft Defender Application Guard (MDAG)
Microsoft Defender Application Guard (MDAG) is still recommended in Microsoft Edge for web browsing protection.
Is it an outdated app or should it be discontinued for Windows11?
Microsoft Edge and Microsoft Defender Application Guard | Microsoft Learn
Why is it possible to run in the latest version of Windows11?
Microsoft Defender Application Guard (MDAG) is still recommended in Microsoft Edge for web browsing protection.Is it an outdated app or should it be discontinued for Windows11?Microsoft Edge and Microsoft Defender Application Guard | Microsoft LearnWhy is it possible to run in the latest version of Windows11? Read More
Power Query for Mac using array as data source
Its not obvious to me how to connect an array as the data source for my Power Query on Mac. I have seen some videos that show connecting to Ranges and Tables using a PC.
Its not obvious to me how to connect an array as the data source for my Power Query on Mac. I have seen some videos that show connecting to Ranges and Tables using a PC. Read More
Copilot and Mac
Before I spend the subscription fee for Copilot, will it work on the Mac Version of Office 365?
The only add-in option I see when I search for Copilot is R2 Copilot: Private ChatGPT
I am wanting to use it to help create powerpoint presentations from word documents, I have seen some really great videos on this. But they are always on a Windows Operating System.
Can I do this on a MacBook Pro running macOS 15?
thanks.
Before I spend the subscription fee for Copilot, will it work on the Mac Version of Office 365? The only add-in option I see when I search for Copilot is R2 Copilot: Private ChatGPT I am wanting to use it to help create powerpoint presentations from word documents, I have seen some really great videos on this. But they are always on a Windows Operating System. Can I do this on a MacBook Pro running macOS 15? thanks. Read More
select some staff but others are required
I would like to create bookings where customers can select certain staff, but have other staff always guaranteed to be assigned.
For example:
Operations Request Meeting
Staff:
Operations Manager
Ops staff 1
Ops staff 2
Ops staff 3
Where someone can select one of the staff members, but the Manager is always assigned to the booking
Is this possible?
I would like to create bookings where customers can select certain staff, but have other staff always guaranteed to be assigned.For example: Operations Request MeetingStaff:Operations ManagerOps staff 1Ops staff 2Ops staff 3 Where someone can select one of the staff members, but the Manager is always assigned to the booking Is this possible? Read More
public booking pages will not load for non-office users
Clients attempting to book time with me using the Bookings page are receiving this error when they click the public link:
UTC Date: 2024-08-29T14:28:44.800Z
Client Id: 2
Session Id:
BootResult: retry
Back Filled Errors: Unhandled Rejection: SyntaxError: The string did not match the expected pattern.:undefinedlUnhandled Rejec
err: Microsoft.Exchange.Clients.Owa2.Server.Core.OwaUserHasNoMailboxAndNoLicenseAssignedException
esrc: StartupData
et: ServerError
estack:
st: 500
ehk: X-OWA-Error
efe: DS7P222CA0023, SA9PR11CA0021
ebe: DM8PR01MB6933
emsg: UserHasNoMailboxAndNoLicenseAssignedError
How do I resolve this so outside users can use the link to book?
Clients attempting to book time with me using the Bookings page are receiving this error when they click the public link: UTC Date: 2024-08-29T14:28:44.800ZClient Id: 2Session Id:BootResult: retryBack Filled Errors: Unhandled Rejection: SyntaxError: The string did not match the expected pattern.:undefinedlUnhandled Rejecerr: Microsoft.Exchange.Clients.Owa2.Server.Core.OwaUserHasNoMailboxAndNoLicenseAssignedExceptionesrc: StartupDataet: ServerErrorestack:st: 500ehk: X-OWA-Errorefe: DS7P222CA0023, SA9PR11CA0021ebe: DM8PR01MB6933emsg: UserHasNoMailboxAndNoLicenseAssignedError How do I resolve this so outside users can use the link to book? Read More
Formula Help for a tally
Looking for quick help creating a formula.
What I’m working with is going to be a long table with up to 30 names that’ll be repeating often. They can also have a specific number (employee number) attached to each one, to accommodate for any misspellings. Is there a formula that can calculate how many times the name/number appears? Like, 34678 shows up 34 times in Column A, and the result is put into another table/sheet, or just displayed after setting the formula into a cell? The goal is just that, quickly identify how many times it repeats.
Thanks!
Looking for quick help creating a formula.What I’m working with is going to be a long table with up to 30 names that’ll be repeating often. They can also have a specific number (employee number) attached to each one, to accommodate for any misspellings. Is there a formula that can calculate how many times the name/number appears? Like, 34678 shows up 34 times in Column A, and the result is put into another table/sheet, or just displayed after setting the formula into a cell? The goal is just that, quickly identify how many times it repeats.Thanks! Read More
Forms in Libraries
Hi,
I hope this is the right place to post this. If not please redirect me.
I currently have a system to create customer quotes using sharepoint lists, power automate, and a sharepoint library. The user goes to the list and creates a new entry by clicking new, then fills out the form with all the information. When they click save a “Flow” starts that gets the item properties from the newly created list item, then gets a content type template (word doc with quickparts) from a sharepoint library, then populates the template with the item properties and saves a copy in the library.
My question is this: Why do I need a list and a library to do this? Could I not do this all within one library and different views? I would like to have the user go to the library and click new, then select the document type, then fill out a form, and sharepoint would create a document from the content type template with all of the form data filled out.
I have got most of the way there but am running into a few problems:
1. When you select “new document” the new document opens in Word. I want a form to open instead.
2. When I proceed with filling out the properties in Word and then try to save the document, it wants to “save as” and prompts for a new location. I want it save to the library.
Hi,I hope this is the right place to post this. If not please redirect me. I currently have a system to create customer quotes using sharepoint lists, power automate, and a sharepoint library. The user goes to the list and creates a new entry by clicking new, then fills out the form with all the information. When they click save a “Flow” starts that gets the item properties from the newly created list item, then gets a content type template (word doc with quickparts) from a sharepoint library, then populates the template with the item properties and saves a copy in the library. My question is this: Why do I need a list and a library to do this? Could I not do this all within one library and different views? I would like to have the user go to the library and click new, then select the document type, then fill out a form, and sharepoint would create a document from the content type template with all of the form data filled out.I have got most of the way there but am running into a few problems:1. When you select “new document” the new document opens in Word. I want a form to open instead.2. When I proceed with filling out the properties in Word and then try to save the document, it wants to “save as” and prompts for a new location. I want it save to the library. Read More
August V2 Title Plan now available!
Don’t forget to checkout updates made to the Title Plan, shared in its permanent location, linked above.
Please note: This is not a support forum. Only comments related to this specific blog post content are permitted and responded to.
For ILT Courseware Support, please visit: aka.ms/ILTSupport
If you have ILT questions not related to this blog post, please reach out to your program for support.
Microsoft Tech Community – Latest Blogs –Read More
Introducing granular permissions for Azure Service Bus Explorer
When working with the Service Bus Explorer in the Azure portal, you may want to grant different permissions to different users, depending on their role and responsibility. For example, you may want to allow some users to send messages to a queue, but not receive them. Or you may want to restrict access to a specific queue, topic, or subscription, but not the entire namespace.
To address this challenge, we are excited to announce granular permissions for Service Bus Explorer. To use granular permissions, you need to use Microsoft Entra authentication, and assign one of the following roles, either on the namespace level or on the entity level.
Service Bus Data Owner; Allows to execute both send and receive operations.
Service Bus Data Sender; Allows to execute send operations.
Service Bus Data Receiver; Allows to execute peek, receive, and purge operations.
In case you use a role which doesn’t have send or receive permissions, or you do not have permissions on the specific entity, the unavailable operations will be disabled. Furthermore, a notification will be shown showing which permissions are missing.
For more information on using the Service Bus Explorer, you can check our documentation.
Microsoft Tech Community – Latest Blogs –Read More
Partner Blog | Unlocking growth: leveraging Microsoft tools for growing your migration practice
By Pankaj Srivastava, General Manager, Azure Partner Sales & Strategy
In today’s dynamic digital landscape, staying relevant means continuously adapting and using the best tools available. For partners focused on building their migration practice, Microsoft offers a unique opportunity to grow their business with a robust suite of resources and offers designed to streamline migration processes, enhance operational efficiency, and drive growth. In this blog, we discuss how you can best use these assets to enhance your services and drive success.
Generate customer interest and demand
Start by accessing Microsoft CloudAscent customer propensity lists in Partner Center to identify migration and security opportunities within the SMB sector. These lists help you target the right customers for your services. For managed partners, your PDM can download additional Enterprise and SMC-C migration propensity lists, providing key information about each account where you are the incumbent. These lists include Windows Server end-of-support (EOS) opportunity flags, SQL Server EOS flags, Microsoft Defender for Cloud consumption flags, and whether an assessment has been done on the account.
Next, use the campaign in a box assets and scripted campaigns to drive demand for Azure VMware Services (AVS) and Windows Server/SQL Server migrations. These resources are crafted to help you effectively market your services and attract new clients with updated content and messaging from our marketing experts; while also helping you position your company value front and center.
Whether you need ready-to-share Digital Marketing Content OnDemand (DMC) or customizable campaigns from the Partner Marketing Center (PMC), we have assets to help you.
Digital Marketing Content OnDemand (DMC) scripted campaigns:
Migrate and Secure Windows Server and SQL Server SMB
Migrate and Secure Windows Server and SQL Server ENT
Migrate VMware Workloads to Azure
Partner Marketing Center (PMC) downloadable campaign content:
Migrate and Secure Windows Server and SQL Server SMB
Migrate and Secure Windows Server and SQL Server ENT
Migrate VMware workloads to Azure
Continue reading here
Microsoft Tech Community – Latest Blogs –Read More
MATLAB code for multi-step differential transform method (MsDTM) for solving system of differential equations
By starting from the standard DTM from this link
https://www.mathworks.com/matlabcentral/answers/2107386-how-to-solve-sir-model-with-using-dtm-differential-transform-method?s_tid=srchtitle
Can anyone help me to adapt the code to MsDTM? Thank youBy starting from the standard DTM from this link
https://www.mathworks.com/matlabcentral/answers/2107386-how-to-solve-sir-model-with-using-dtm-differential-transform-method?s_tid=srchtitle
Can anyone help me to adapt the code to MsDTM? Thank you By starting from the standard DTM from this link
https://www.mathworks.com/matlabcentral/answers/2107386-how-to-solve-sir-model-with-using-dtm-differential-transform-method?s_tid=srchtitle
Can anyone help me to adapt the code to MsDTM? Thank you dtm, differential transform method, differential equations MATLAB Answers — New Questions