Month: August 2024
SharePoint List Choice Pills Hex Colors
How and where do I modify the following code so I can set my own colors for the background and text using Hex codes like #FF0000? It seems to be using CSS color coding. Apologies for the long code sniplet.
{
“$schema”: “https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json“,
“elmType”: “div”,
“style”: {
“flex-wrap”: “wrap”,
“display”: “flex”,
“justify-content”: “center”
},
“children”: [
{
“elmType”: “div”,
“style”: {
“box-sizing”: “border-box”,
“padding”: “4px 8px 5px 8px”,
“overflow”: “hidden”,
“text-overflow”: “ellipsis”,
“display”: “flex”,
“border-radius”: “16px”,
“height”: “24px”,
“align-items”: “center”,
“white-space”: “nowrap”,
“margin”: “4px 4px 4px 4px”
},
“attributes”: {
“class”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“”
]
},
“”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Cancelled”
]
},
“sp-css-backgroundColor-BgDarkRed sp-css-borderColor-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Completed”
]
},
“sp-css-backgroundColor-BgGreen sp-css-borderColor-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“On-Hold”
]
},
“sp-css-backgroundColor-BgCoral”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Queued”
]
},
“sp-css-backgroundColor-BgMintGreen sp-css-borderColor-MintGreenFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Work in Progress”
]
},
“sp-css-backgroundColor-BgTeal sp-css-borderColor-MintGreenFont”,
“sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralSecondary”
]
}
]
}
]
}
]
}
]
}
]
}
},
“children”: [
{
“elmType”: “span”,
“style”: {
“line-height”: “16px”,
“height”: “14px”,
“display”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“”
]
},
“none”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Cancelled”
]
},
“inherit”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Completed”
]
},
“inherit”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“On-Hold”
]
},
“inherit”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Queued”
]
},
“inherit”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Work in Progress”
]
},
“inherit”,
“none”
]
}
]
}
]
}
]
}
]
}
]
}
},
“attributes”: {
“iconName”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“”
]
},
“”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Cancelled”
]
},
“ErrorBadge”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Completed”
]
},
“Like”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“On-Hold”
]
},
“Warning”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Queued”
]
},
“Calendar”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Work in Progress”
]
},
“Forward”,
“”
]
}
]
}
]
}
]
}
]
}
]
},
“class”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“”
]
},
“”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Cancelled”
]
},
“sp-css-color-WhiteText”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Completed”
]
},
“sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“On-Hold”
]
},
“sp-css-color-CoralFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Queued”
]
},
“sp-css-color-MintGreenFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Work in Progress”
]
},
“sp-css-color-WhiteText”,
“”
]
}
]
}
]
}
]
}
]
}
]
}
}
},
{
“elmType”: “span”,
“style”: {
“overflow”: “hidden”,
“text-overflow”: “ellipsis”,
“padding”: “0 3px”
},
“txtContent”: “[$State]”,
“attributes”: {
“class”: {
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“”
]
},
“”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Cancelled”
]
},
“sp-css-color-WhiteText”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Completed”
]
},
“sp-css-color-WhiteFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“On-Hold”
]
},
“sp-css-color-CoralFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Queued”
]
},
“sp-css-color-MintGreenFont”,
{
“operator”: “:”,
“operands”: [
{
“operator”: “==”,
“operands”: [
“[$State]”,
“Work in Progress”
]
},
“sp-css-color-WhiteText”,
“”
]
}
]
}
]
}
]
}
]
}
]
}
}
}
]
}
]
}
How and where do I modify the following code so I can set my own colors for the background and text using Hex codes like #FF0000? It seems to be using CSS color coding. Apologies for the long code sniplet. { “$schema”: “https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json”, “elmType”: “div”, “style”: { “flex-wrap”: “wrap”, “display”: “flex”, “justify-content”: “center” }, “children”: [ { “elmType”: “div”, “style”: { “box-sizing”: “border-box”, “padding”: “4px 8px 5px 8px”, “overflow”: “hidden”, “text-overflow”: “ellipsis”, “display”: “flex”, “border-radius”: “16px”, “height”: “24px”, “align-items”: “center”, “white-space”: “nowrap”, “margin”: “4px 4px 4px 4px” }, “attributes”: { “class”: { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “” ] }, “”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Cancelled” ] }, “sp-css-backgroundColor-BgDarkRed sp-css-borderColor-WhiteFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Completed” ] }, “sp-css-backgroundColor-BgGreen sp-css-borderColor-WhiteFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “On-Hold” ] }, “sp-css-backgroundColor-BgCoral”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Queued” ] }, “sp-css-backgroundColor-BgMintGreen sp-css-borderColor-MintGreenFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Work in Progress” ] }, “sp-css-backgroundColor-BgTeal sp-css-borderColor-MintGreenFont”, “sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralSecondary” ] } ] } ] } ] } ] } ] } }, “children”: [ { “elmType”: “span”, “style”: { “line-height”: “16px”, “height”: “14px”, “display”: { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “” ] }, “none”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Cancelled” ] }, “inherit”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Completed” ] }, “inherit”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “On-Hold” ] }, “inherit”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Queued” ] }, “inherit”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Work in Progress” ] }, “inherit”, “none” ] } ] } ] } ] } ] } ] } }, “attributes”: { “iconName”: { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “” ] }, “”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Cancelled” ] }, “ErrorBadge”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Completed” ] }, “Like”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “On-Hold” ] }, “Warning”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Queued” ] }, “Calendar”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Work in Progress” ] }, “Forward”, “” ] } ] } ] } ] } ] } ] }, “class”: { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “” ] }, “”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Cancelled” ] }, “sp-css-color-WhiteText”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Completed” ] }, “sp-css-color-WhiteFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “On-Hold” ] }, “sp-css-color-CoralFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Queued” ] }, “sp-css-color-MintGreenFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Work in Progress” ] }, “sp-css-color-WhiteText”, “” ] } ] } ] } ] } ] } ] } } }, { “elmType”: “span”, “style”: { “overflow”: “hidden”, “text-overflow”: “ellipsis”, “padding”: “0 3px” }, “txtContent”: “[$State]”, “attributes”: { “class”: { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “” ] }, “”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Cancelled” ] }, “sp-css-color-WhiteText”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Completed” ] }, “sp-css-color-WhiteFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “On-Hold” ] }, “sp-css-color-CoralFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Queued” ] }, “sp-css-color-MintGreenFont”, { “operator”: “:”, “operands”: [ { “operator”: “==”, “operands”: [ “[$State]”, “Work in Progress” ] }, “sp-css-color-WhiteText”, “” ] } ] } ] } ] } ] } ] } } } ] } ]} Read More
Monitoring FSLogix User Profile Container Size w/ Azure Files
The default maximum profile size for FSLogix containers is 30GB by default. We want to setup alerts to let us know when profile containers are reaching the capacity, so we can be proactive instead of reactive in these situations. We are storing our users’ FSLogix profiles in an Azure Files file share.
Are there any alerts that can be created to monitor these VHD(x) file sizes in the Azure Files File Share?
I’ve seen some scripts that create alerting at the OS level, but this is not ideal.
The default maximum profile size for FSLogix containers is 30GB by default. We want to setup alerts to let us know when profile containers are reaching the capacity, so we can be proactive instead of reactive in these situations. We are storing our users’ FSLogix profiles in an Azure Files file share. Are there any alerts that can be created to monitor these VHD(x) file sizes in the Azure Files File Share? I’ve seen some scripts that create alerting at the OS level, but this is not ideal. Read More
Continuous Threat Monitoring for GitHub Connector setup broken
Hi,
i tried today to deploy the Continuous Threat Monitoring for GitHub Connector and it looks broken.
Error Data Connector Not Found.
Already reproted here:
What is the workarround or how is the right way to deploy?
Hi, i tried today to deploy the Continuous Threat Monitoring for GitHub Connector and it looks broken.Error Data Connector Not Found.Already reproted here: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoftcorporation1622712991604.sentinel4github?tab=Overview What is the workarround or how is the right way to deploy? Read More
AI business
AI has foundational model and many people trying to fine-tune it based on their needs. Eventually, this will become a new business opportunity for any startup to teach/fine tune, optimize, create new data sets. I hope anybody can provide data to the AI like take a photo of new species, crops growing stages, fertilizers, historical monuments, ancient literature, etc and update the existing label or create new label. More data, more accuracy for the AI output.. how to start a startup business to collect the data from the public and pay them for unique data to GenAI? Like Youtube is paying for the number of viewers.
AI has foundational model and many people trying to fine-tune it based on their needs. Eventually, this will become a new business opportunity for any startup to teach/fine tune, optimize, create new data sets. I hope anybody can provide data to the AI like take a photo of new species, crops growing stages, fertilizers, historical monuments, ancient literature, etc and update the existing label or create new label. More data, more accuracy for the AI output.. how to start a startup business to collect the data from the public and pay them for unique data to GenAI? Like Youtube is paying for the number of viewers. Read More
Tech Talks Presents: X-In-A-Day Program & Complex Data Structures with Power Apps Copilot!
Join us on Thursday, August 8th at 8am PT as Alisha Dranitsaris, Partner Enablement Program Manager, presents X-In-A-Day Program Overview and April Dunnam, Principal Cloud Advocate, presents Unlock the Power of Complex Data Structures with Power Apps Copilot!
Call to Action:
Click on the link to save the calendar invite: https://aka.ms/TechTalksInvite
View past recordings (sign in required): https://aka.ms/TechTalksRecording
Join us on Thursday, August 8th at 8am PT as Alisha Dranitsaris, Partner Enablement Program Manager, presents X-In-A-Day Program Overview and April Dunnam, Principal Cloud Advocate, presents Unlock the Power of Complex Data Structures with Power Apps Copilot!
Call to Action:
Click on the link to save the calendar invite: https://aka.ms/TechTalksInvite
View past recordings (sign in required): https://aka.ms/TechTalksRecording Read More
Logic Apps Aviators Newsletter – August 2024
In this issue:
Ace Aviator of the Month
Customer Corner
News from our product group
News from our community
Ace Aviator of the Month
August’s Ace Aviator: Adnane Dalhi
What is your role and title? What are your responsibilities associated with your position?
I am a Dynamics 365 Technical and Cloud Solution Architect at HSO France. In my role, I am responsible for architecting and designing Dynamics 365 For Finance and Operations solutions that meet client requirements. Design cloud architectures with Azure cloud integration Services, I translate business requirements into technology requirements. My responsibilities also include providing advice, high-level and detailed designs during project delivery engagements, ensuring quality oversight at various stages of the project lifecycle, creating solution proposals and cost models for projects, producing responses to request for proposals (RFPs), acting as the design authority and technical escalation point for projects, collaborating with the project delivery team to develop customer account plans and roadmaps, and managing projects through the entire project lifecycle to ensure high customer satisfaction.
Can you provide some insights into your day-to-day activities and what a typical day in your role looks like?
A typical day for me starts with reviewing project updates and prioritizing tasks for the day. I spend a significant portion of my time designing and developing Architectures , and automated workflows to meet our clients’ specific needs using azure cloud integration services. I work closely with clients to understand their business requirements and translate these into technical solutions. Collaboration is key in my role, so I frequently meet with team members and stakeholders to discuss project progress and address any challenges. I also ensure quality oversight at various project stages and act as a technical escalation point when necessary. Additionally, I dedicate time to staying updated with the latest advancements in Dynamics 365, Power Platform and Cloud integration services and other related technologies to ensure we are leveraging the best practices and features available.
What motivates and inspires you to be an active member of the Aviators/Microsoft community?
I am inspired by the opportunity to learn from and collaborate with other experts. The community provides valuable support and resources that help me grow professionally. Sharing knowledge and seeing the positive impact it has on others motivates me to stay active and contribute more. The continuous innovation in Microsoft technologies, especially Azure, keeps me excited and engaged.
Looking back, what advice do you wish you would have been told earlier on that you would give to individuals looking to become involved in STEM/technology?
My advice is to never stop learning and connect with professionals in the field. Building a strong network and staying curious about new technologies can open many doors and help your career grow.
What has helped you grow professionally?
Commitment to lifelong learning, seeking mentorship, and actively participating in community forums and events have been crucial for my growth. Embracing challenges as opportunities to learn and staying adaptable have also helped. I share my insights through my blog, Dynvision365.com, where I discuss cloud solutions, enterprise architecture, and emerging technologies.
Imagine you had a magic wand that could create a feature in Logic Apps. What would this feature be and why?
As someone coming from the academic world and the R&D domain, and as a blockchain enthusiast, I would love to see a “Blockchain-AI Integrated Workflow Engine” in Logic Apps. This feature would seamlessly integrate blockchain technology with AI to create smart, secure, and highly efficient workflows and simple smart contracts. The blockchain component would ensure the integrity and transparency of data, providing a tamper-proof ledger for all transactions and processes
Customer Corner:
Commercial Bank of Dubai: innovating a future proof banking platform with Microsoft Azure
Discover how Commercial Bank of Dubai is transforming its operations with Microsoft Azure in this compelling customer success story. By leveraging Azure’s cutting-edge banking and capital markets solutions, the bank is enhancing its digital infrastructure to deliver more efficient, secure, and innovative financial services. With Azure’s advanced cloud capabilities, the Commercial Bank of Dubai is streamlining its processes, boosting operational efficiency, and elevating the customer experience.
News from our product group:
Automate responses to StackOverflow queries using OpenAI and Logic Apps
Read about this powerful solution for automating responses to questions using the new AI Search and OpenAI Connectors in Logic Apps Standard.
The Rising Significance of APIs – Azure API Management & API Center
Read about the differences and use cases between Azure API Management and the recently GA Azure API Center in this article.
Azure Integration Services Quarterly Highlights and Insights 2024’Q2
Catch up with the quarterly blog that has the latest updates and highlights from AIS over the past few months.
News from our community:
Logic Apps Consumption vs Logic Apps Standard
Video by Sebastian Meyer
Check out this video about the differences between Consumption vs. Standard in the first of Sebastian’s new video series.
Post by Sandro Pereira
Having trouble deploying your SAP connector? Check out Sandro’s article for help.
Azure Logic Apps: Automated Testing Framework Feature
Video by Michael Stephenson
Watch this video featuring Wagner Silveira as he talks with Michael about our upcoming Automated Testing Framework feature.
Friday Fact: You can debatch XML messages with Logic Apps
Post by Sandro Pereira
Learn how to debatch XML content similarly to how you handle JSON inputs in Sandro’s post.
Friday Fact: You Can Protect Your Logic Apps from Accidental Changes with Read-Only Locks
Post by Luís Rigueira
Learn how to prevent accidental modifications or deletions with Read-Only Locks in this post and video by Luis
Post by Sandro Pereira
Learn how to apply workflow Locks to Logic App Consumption in Visual Studio Logic App projects in this post by Sandro.
Shared Connectors vs. In-App Connectors
Post by Sebastian Meyer
Don’t miss the second of Sebastian’s video series where he discusses the differences between shared vs. in-app connectors.
Post by Sandro Pereira
Configuring your SAP Connector? Read Sandro’s article to learn how to properly configure the SAP Connector’s System Number property.
Microsoft Tech Community – Latest Blogs –Read More
how to solve “Unable to download third party software: LWIP Sources” when I tried to install “Embedded Coder Support Package for STMicroelectronics Discovery Boards”
I have been attempting to install the support package "Embedded Coder Support Package for STMicroelectronics Discovery Boards" in the r2018a version of matlab, while I keep getting this error. I have tried to run matlab as Administrator, but it didn’t work.
After installing this, I tried to install another support package, Embedded Coder Support Package for ARM Cortex-M Processors, and it is successful. So I believe there is no issue about my internet.
Somebody please help me.I have been attempting to install the support package "Embedded Coder Support Package for STMicroelectronics Discovery Boards" in the r2018a version of matlab, while I keep getting this error. I have tried to run matlab as Administrator, but it didn’t work.
After installing this, I tried to install another support package, Embedded Coder Support Package for ARM Cortex-M Processors, and it is successful. So I believe there is no issue about my internet.
Somebody please help me. I have been attempting to install the support package "Embedded Coder Support Package for STMicroelectronics Discovery Boards" in the r2018a version of matlab, while I keep getting this error. I have tried to run matlab as Administrator, but it didn’t work.
After installing this, I tried to install another support package, Embedded Coder Support Package for ARM Cortex-M Processors, and it is successful. So I believe there is no issue about my internet.
Somebody please help me. third party package MATLAB Answers — New Questions
I wanted to create create 3 UART connections with a Zynq Processor to take data from 3 different receivers. Is there any resources online?
I am working with ADALM Pluto fitted with a Zynq processor and would like to process to transmit and receive data through the SDR. I want to use 3 receivers and gather their data simultaneously. Is there any MATLAB or Simulink resources that might benefit me in any way?
My main goal would be to create 3 different UART connections running at the same time.I am working with ADALM Pluto fitted with a Zynq processor and would like to process to transmit and receive data through the SDR. I want to use 3 receivers and gather their data simultaneously. Is there any MATLAB or Simulink resources that might benefit me in any way?
My main goal would be to create 3 different UART connections running at the same time. I am working with ADALM Pluto fitted with a Zynq processor and would like to process to transmit and receive data through the SDR. I want to use 3 receivers and gather their data simultaneously. Is there any MATLAB or Simulink resources that might benefit me in any way?
My main goal would be to create 3 different UART connections running at the same time. simulink, sdr, uart, serial port MATLAB Answers — New Questions
how to run two scripts (one MEX function and one that calls upon a digital library) in parallel using parfor and parallel pools?
I am trying to achieve parallel exectution of two functions that would normally need two separate matlab(r2023a) windows open in order to successfuly execute. The PULM() function is a MEX funtion and DMD_Funtion is a matlab function that uses a library (‘alp4395’). because of this, a threadpool does not work because ‘Use of MEX functions is not supported on a thread-based worker.’ The reason either a parallel processing function or 2 MATLAB windows are needed is because PULM() needs to initialize into its ready state then it waits for a trigger (meaning matlab will stay ‘Busy’ and wont execute any other commands until PULM is finished, which waits indefinitely for a trigger), which is the DMD_Function(), then finishes the rest of the PULM MEX functions to collect data and exit.
I have been trying to use parpool(‘Processes’) instead, however it seems that it is unable to successfully ‘exit gracefully’ from the C code, probably due to timing issues with the trigger. PULM() needs several seconds to be in its ‘Ready’ state before the DMD_Funtion() is ran or else the PULM() will be waiting for triggers and basically never exit. I noticed that even with the Pause(5) or even 10 that I put in before the the DMD funtion is ran, all that happens is that both workers wait 5 seconds before running simultaneously instead of being delayed like they are supposed to. How do I delay the exectution of the DMD funtion? is it possible that i = 3 is running before i = 2 causing both of interations to pause before executing? Are there any other ways I could accomplish parallel processing in this way without the use of 2 MATLAB windows?
Initially I thought using 2 push buttons on a GUI would work because I believed that push buttons worked in parallel, but I soon realized they were executed sequentially. So I now have to use parallel toolbox functions so that one push button with execute everything in parallel.
Here’s the code for the parfor:
parfor i=2:3
if i==2
%pause(1);
%DMD_Function(patternNumber,AvergeNumber,SamplingRate,BinningNumber=768/SamplingRate) 768/32
PULM(PonitNumber,NumberofRecording,AvergeNumber);
%disp(‘run 1’);
disp(‘done 1’)
else
pause(5);
DMD_Function(patternNumber,AvergeNumber,SamplingRate,BinningNumber);
disp(‘done 2’)
end
end
Note: ‘done 1’ does not display meaning it does not complete the MEX function but ‘All records were saved to file’ does display which is right before ‘Exit Gracefully’ for the Digitizer.
In a separate code I tried to why the pause was just making them both wait 5 seconds then simultaneously running instead of being delayed. Threadpools seem to do what I want, it executes i==2 and delays i == 3. I am still not sure as to why Processespools doesn’t do the same thing. I even tried to stop the execution of the i==3 line by having it check if i == 2 wrote in a file, but it just ccomes up with an error. this is the reason why I was wondering if i==3 is being executed faster than i==2.
stateFile = ‘state.txt’;
parfor i = 2:3
if i == 2
%pause(5);
disp(‘hi’)
fid = fopen(stateFile, ‘w’);
fwrite(fid, ‘5’, ‘char’);
fclose(fid);
else
pause(5);
if isfile(stateFile)
fid = fopen(stateFile, ‘r’);
state = fread(fid, ‘*char’)’;
fclose(fid);
% Check if the state value matches
if strcmp(state, ‘5’)
disp(‘hello’);
end
end
end
endI am trying to achieve parallel exectution of two functions that would normally need two separate matlab(r2023a) windows open in order to successfuly execute. The PULM() function is a MEX funtion and DMD_Funtion is a matlab function that uses a library (‘alp4395’). because of this, a threadpool does not work because ‘Use of MEX functions is not supported on a thread-based worker.’ The reason either a parallel processing function or 2 MATLAB windows are needed is because PULM() needs to initialize into its ready state then it waits for a trigger (meaning matlab will stay ‘Busy’ and wont execute any other commands until PULM is finished, which waits indefinitely for a trigger), which is the DMD_Function(), then finishes the rest of the PULM MEX functions to collect data and exit.
I have been trying to use parpool(‘Processes’) instead, however it seems that it is unable to successfully ‘exit gracefully’ from the C code, probably due to timing issues with the trigger. PULM() needs several seconds to be in its ‘Ready’ state before the DMD_Funtion() is ran or else the PULM() will be waiting for triggers and basically never exit. I noticed that even with the Pause(5) or even 10 that I put in before the the DMD funtion is ran, all that happens is that both workers wait 5 seconds before running simultaneously instead of being delayed like they are supposed to. How do I delay the exectution of the DMD funtion? is it possible that i = 3 is running before i = 2 causing both of interations to pause before executing? Are there any other ways I could accomplish parallel processing in this way without the use of 2 MATLAB windows?
Initially I thought using 2 push buttons on a GUI would work because I believed that push buttons worked in parallel, but I soon realized they were executed sequentially. So I now have to use parallel toolbox functions so that one push button with execute everything in parallel.
Here’s the code for the parfor:
parfor i=2:3
if i==2
%pause(1);
%DMD_Function(patternNumber,AvergeNumber,SamplingRate,BinningNumber=768/SamplingRate) 768/32
PULM(PonitNumber,NumberofRecording,AvergeNumber);
%disp(‘run 1’);
disp(‘done 1’)
else
pause(5);
DMD_Function(patternNumber,AvergeNumber,SamplingRate,BinningNumber);
disp(‘done 2’)
end
end
Note: ‘done 1’ does not display meaning it does not complete the MEX function but ‘All records were saved to file’ does display which is right before ‘Exit Gracefully’ for the Digitizer.
In a separate code I tried to why the pause was just making them both wait 5 seconds then simultaneously running instead of being delayed. Threadpools seem to do what I want, it executes i==2 and delays i == 3. I am still not sure as to why Processespools doesn’t do the same thing. I even tried to stop the execution of the i==3 line by having it check if i == 2 wrote in a file, but it just ccomes up with an error. this is the reason why I was wondering if i==3 is being executed faster than i==2.
stateFile = ‘state.txt’;
parfor i = 2:3
if i == 2
%pause(5);
disp(‘hi’)
fid = fopen(stateFile, ‘w’);
fwrite(fid, ‘5’, ‘char’);
fclose(fid);
else
pause(5);
if isfile(stateFile)
fid = fopen(stateFile, ‘r’);
state = fread(fid, ‘*char’)’;
fclose(fid);
% Check if the state value matches
if strcmp(state, ‘5’)
disp(‘hello’);
end
end
end
end I am trying to achieve parallel exectution of two functions that would normally need two separate matlab(r2023a) windows open in order to successfuly execute. The PULM() function is a MEX funtion and DMD_Funtion is a matlab function that uses a library (‘alp4395’). because of this, a threadpool does not work because ‘Use of MEX functions is not supported on a thread-based worker.’ The reason either a parallel processing function or 2 MATLAB windows are needed is because PULM() needs to initialize into its ready state then it waits for a trigger (meaning matlab will stay ‘Busy’ and wont execute any other commands until PULM is finished, which waits indefinitely for a trigger), which is the DMD_Function(), then finishes the rest of the PULM MEX functions to collect data and exit.
I have been trying to use parpool(‘Processes’) instead, however it seems that it is unable to successfully ‘exit gracefully’ from the C code, probably due to timing issues with the trigger. PULM() needs several seconds to be in its ‘Ready’ state before the DMD_Funtion() is ran or else the PULM() will be waiting for triggers and basically never exit. I noticed that even with the Pause(5) or even 10 that I put in before the the DMD funtion is ran, all that happens is that both workers wait 5 seconds before running simultaneously instead of being delayed like they are supposed to. How do I delay the exectution of the DMD funtion? is it possible that i = 3 is running before i = 2 causing both of interations to pause before executing? Are there any other ways I could accomplish parallel processing in this way without the use of 2 MATLAB windows?
Initially I thought using 2 push buttons on a GUI would work because I believed that push buttons worked in parallel, but I soon realized they were executed sequentially. So I now have to use parallel toolbox functions so that one push button with execute everything in parallel.
Here’s the code for the parfor:
parfor i=2:3
if i==2
%pause(1);
%DMD_Function(patternNumber,AvergeNumber,SamplingRate,BinningNumber=768/SamplingRate) 768/32
PULM(PonitNumber,NumberofRecording,AvergeNumber);
%disp(‘run 1’);
disp(‘done 1’)
else
pause(5);
DMD_Function(patternNumber,AvergeNumber,SamplingRate,BinningNumber);
disp(‘done 2’)
end
end
Note: ‘done 1’ does not display meaning it does not complete the MEX function but ‘All records were saved to file’ does display which is right before ‘Exit Gracefully’ for the Digitizer.
In a separate code I tried to why the pause was just making them both wait 5 seconds then simultaneously running instead of being delayed. Threadpools seem to do what I want, it executes i==2 and delays i == 3. I am still not sure as to why Processespools doesn’t do the same thing. I even tried to stop the execution of the i==3 line by having it check if i == 2 wrote in a file, but it just ccomes up with an error. this is the reason why I was wondering if i==3 is being executed faster than i==2.
stateFile = ‘state.txt’;
parfor i = 2:3
if i == 2
%pause(5);
disp(‘hi’)
fid = fopen(stateFile, ‘w’);
fwrite(fid, ‘5’, ‘char’);
fclose(fid);
else
pause(5);
if isfile(stateFile)
fid = fopen(stateFile, ‘r’);
state = fread(fid, ‘*char’)’;
fclose(fid);
% Check if the state value matches
if strcmp(state, ‘5’)
disp(‘hello’);
end
end
end
end parallel computing, parallel computing toolbox, parfor, data acquisition, digitizer, help, dmd, parallel pools MATLAB Answers — New Questions
Need a Matlab code
Sir I am doing M Sc project based on mixed finite element method i need help in solving the numerical problems which was done by matlabSir I am doing M Sc project based on mixed finite element method i need help in solving the numerical problems which was done by matlab Sir I am doing M Sc project based on mixed finite element method i need help in solving the numerical problems which was done by matlab numerical method, finite element analysis MATLAB Answers — New Questions
SQL 2022 Remote Blob Storage installation file
Hi, Please let me know from where i can download msi for Remote Blob Storage (RBS) ?
I am trying to test SharePoint Subscription with SQL 2022 RBS.
Hi, Please let me know from where i can download msi for Remote Blob Storage (RBS) ? I am trying to test SharePoint Subscription with SQL 2022 RBS. Read More
Adding iCloud account to Outlook
I have an iCloud account where I get a few e-mails. I was attempting to add my iCloud account to Outlook but I can’t get it to work. I have followed all of the instructions multiple times in both New Outlook and Classic Outlook. When I do troubleshooting I see Error code: INVALIDCREDENTIALS INTERACTIONREQUIRED. I have followed all of the trouble shooting documents that I have found but nothing seems to work. I am using the app password from iCloud and still nothing. What am I missing?
I have an iCloud account where I get a few e-mails. I was attempting to add my iCloud account to Outlook but I can’t get it to work. I have followed all of the instructions multiple times in both New Outlook and Classic Outlook. When I do troubleshooting I see Error code: INVALIDCREDENTIALS INTERACTIONREQUIRED. I have followed all of the trouble shooting documents that I have found but nothing seems to work. I am using the app password from iCloud and still nothing. What am I missing? Read More
Why do I get name printed 3 times instead of 2?
Hi , here’s my code:
Add-Type -AssemblyName System.Web
$fileInGpx = “b.gpx”
[hashtable]$wptsUnique = @{}
[xml]$xml = Get-Content -Path $fileInGpx -Encoding UTF8
function trySetWptColor($wpti, $wptExisting)
{
Write-Host $wpti.name
}
$nsManager = New-Object System.Xml.XmlNamespaceManager($xml.NameTable)
$nsManager.AddNamespace(“osmand”, “https://osmand.net”)
$nsManager.AddNamespace(“gpx”, “http://www.topografix.com/GPX/1/1”)
$XPath = “//gpx:wpt”
$wpts = $xml.selectNodes($XPath, $nsManager)
foreach($wpt in $wpts)
{
$wpt2 = $null
$lat2 = $wpt.lat -as [double]
$lon2 = $wpt.lon -as [double]
$key = $lat2 + ” + $lon2
if ($wptsUnique.ContainsKey($key))
{
$wptExisting = $wptsUnique[$key]
Write-Host $wpt.name
trySetWptColor($wpt, $wptExisting)
}
else
{
$wpt2 = @{
lat = 1
lon = 2
name = $wpt.name
extensions = “qqq”
}
$wptsUnique.add($key, $wpt2)
}
}
Here’s the file it’s supposed to read:
<?xml version=’1.0′ encoding=’UTF-8′ standalone=’yes’ ?>
<gpx
xmlns=’http://www.topografix.com/GPX/1/1′
xmlns:osmand=’https://osmand.net’
>
<metadata>
<name>MOSTIKI</name>
</metadata>
<wpt lat=”55.9840704″ lon=”36.6401806″>
<name>AAAAAA</name>
<type>MOSTIKI</type>
<extensions>
<osmand:address>BBBBBB</osmand:address>
<osmand:icon>special_star</osmand:icon>
<osmand:background>circle</osmand:background>
<osmand:color>#eecc22</osmand:color>
</extensions>
</wpt>
<wpt lat=”55.98407″ lon=”36.640181″>
<name>CCCCC</name>
<type>MOSTIKI</type>
<extensions>
<osmand:address>DDDDD</osmand:address>
<osmand:icon>bridge_structure_suspension</osmand:icon>
<osmand:background>circle</osmand:background>
<osmand:color>#eecc22</osmand:color>
</extensions>
</wpt>
</gpx>
As a result of running I get this:
CCCCC
CCCCC AAAAAA
Why do I get CCCC AAAAA instead of just CCCCC
Hi , here’s my code: Add-Type -AssemblyName System.Web
$fileInGpx = “b.gpx”
[hashtable]$wptsUnique = @{}
[xml]$xml = Get-Content -Path $fileInGpx -Encoding UTF8
function trySetWptColor($wpti, $wptExisting)
{
Write-Host $wpti.name
}
$nsManager = New-Object System.Xml.XmlNamespaceManager($xml.NameTable)
$nsManager.AddNamespace(“osmand”, “https://osmand.net”)
$nsManager.AddNamespace(“gpx”, “http://www.topografix.com/GPX/1/1”)
$XPath = “//gpx:wpt”
$wpts = $xml.selectNodes($XPath, $nsManager)
foreach($wpt in $wpts)
{
$wpt2 = $null
$lat2 = $wpt.lat -as [double]
$lon2 = $wpt.lon -as [double]
$key = $lat2 + ” + $lon2
if ($wptsUnique.ContainsKey($key))
{
$wptExisting = $wptsUnique[$key]
Write-Host $wpt.name
trySetWptColor($wpt, $wptExisting)
}
else
{
$wpt2 = @{
lat = 1
lon = 2
name = $wpt.name
extensions = “qqq”
}
$wptsUnique.add($key, $wpt2)
}
}
Here’s the file it’s supposed to read: <?xml version=’1.0′ encoding=’UTF-8′ standalone=’yes’ ?>
<gpx
xmlns=’http://www.topografix.com/GPX/1/1′
xmlns:osmand=’https://osmand.net’
>
<metadata>
<name>MOSTIKI</name>
</metadata>
<wpt lat=”55.9840704″ lon=”36.6401806″>
<name>AAAAAA</name>
<type>MOSTIKI</type>
<extensions>
<osmand:address>BBBBBB</osmand:address>
<osmand:icon>special_star</osmand:icon>
<osmand:background>circle</osmand:background>
<osmand:color>#eecc22</osmand:color>
</extensions>
</wpt>
<wpt lat=”55.98407″ lon=”36.640181″>
<name>CCCCC</name>
<type>MOSTIKI</type>
<extensions>
<osmand:address>DDDDD</osmand:address>
<osmand:icon>bridge_structure_suspension</osmand:icon>
<osmand:background>circle</osmand:background>
<osmand:color>#eecc22</osmand:color>
</extensions>
</wpt>
</gpx> As a result of running I get this:CCCCCCCCCC AAAAAA Why do I get CCCC AAAAA instead of just CCCCC Read More
Two virtual machines can’t talk to each other in Same Azure Subnet
Hello
I’m trying to perform a Disaster Recovery Failover test. When the domain controller and several member servers are turned on, the member servers report the domain is not contactable.
These VMs are all on the same subnet. What more do I have to ensure? The only NSGs are for RDP inbound to the one member server “CTXCON.”
Hello I’m trying to perform a Disaster Recovery Failover test. When the domain controller and several member servers are turned on, the member servers report the domain is not contactable. These VMs are all on the same subnet. What more do I have to ensure? The only NSGs are for RDP inbound to the one member server “CTXCON.” Read More
Installation of Freshservice probe fails at starting service
BLUF: My background is desktop administration. New job and trying to learn as I go in regard to servers.
According to inventory reports from our Freshservice ticketing system, the Freshservice probe was installed on one of our DCs and reporting back in November of last year. No real evidence of it now. When trying to install the probe on Windows Server 2019, it gets all the way to starting services and it fails. Message saying to verify that you have sufficient privileges.
BLUF: My background is desktop administration. New job and trying to learn as I go in regard to servers.According to inventory reports from our Freshservice ticketing system, the Freshservice probe was installed on one of our DCs and reporting back in November of last year. No real evidence of it now. When trying to install the probe on Windows Server 2019, it gets all the way to starting services and it fails. Message saying to verify that you have sufficient privileges. Read More
Getting error ‘Error code: 30182-27 (53)’ while trying to update Office 365
Hello All,
we have configured Auto update for office apps in Intune. we noticed that the auto update is not working for some of the devices (not all) and when we take remote and try manual update on those machines, it gives the error ‘Error code: 30182-27 (53)‘ (Screenshot attached). We did some basic check and would like to get further advice from the community.
Hello All, we have configured Auto update for office apps in Intune. we noticed that the auto update is not working for some of the devices (not all) and when we take remote and try manual update on those machines, it gives the error ‘Error code: 30182-27 (53)’ (Screenshot attached). We did some basic check and would like to get further advice from the community. Read More
Formulas across multiple workbooks
I have 3 Excel Workbooks
One called PO Number System
One called Marc
One called Kyle
The workbook called PO Number System has 2 sheets, one called customer list and one called PO. There is an existing formula in the sheet called PO (column B) that will automatically assign a PO number once the Customer name is filled in. We will then manually enter the remainder of the info on this sheet.
What I would like is to be able to enter the information on the PO Sheet of the PO Number System Workbook and for that information to copy over to the individual salesman’s workbooks called Marc and Kyle. This is indicated by the first column of the PO Number System. The Marc and Kyle workbooks have lots of other information on them, but the columns from the PO number workbook I would like to automatically populate once filled in. The key to all of this is that the PO number and formula transfer as well. Therefore, if Marc and Kyle both have a customer name Kroger, the system doesn’t assign them the same PO number just because they are in 2 different worksheets.
I have 3 Excel WorkbooksOne called PO Number SystemOne called MarcOne called KyleThe workbook called PO Number System has 2 sheets, one called customer list and one called PO. There is an existing formula in the sheet called PO (column B) that will automatically assign a PO number once the Customer name is filled in. We will then manually enter the remainder of the info on this sheet.What I would like is to be able to enter the information on the PO Sheet of the PO Number System Workbook and for that information to copy over to the individual salesman’s workbooks called Marc and Kyle. This is indicated by the first column of the PO Number System. The Marc and Kyle workbooks have lots of other information on them, but the columns from the PO number workbook I would like to automatically populate once filled in. The key to all of this is that the PO number and formula transfer as well. Therefore, if Marc and Kyle both have a customer name Kroger, the system doesn’t assign them the same PO number just because they are in 2 different worksheets. Read More
Troubleshooting managed installer deployments in Microsoft Intune
By: Luke Ramsdale – Sr. Customer Escalation Engineer | Microsoft Intune
In Microsoft Intune, admins can deploy application control policies to Windows devices to help prevent unauthorized applications from running. They deploy these policies using the Windows ApplicationControl CSP, however, to deploy Win32 apps via Intune after deploying these policies, you need to add the Intune management extension as a managed installer. Once you configure the Intune management extension as a managed installer, the apps that are subsequently deployed via Intune are tagged by the installer and identified as safe applications.
Note: Enabling the Intune management extension for managed installer is an Intune tenant-wide configuration, so it targets all Windows devices at once.
For more information on using application control policies and configuring Intune management extension as a managed installer review:
Manage approved apps for Windows devices with App Control for Business policy and Managed Installers in Intune.
Monitoring the configuration of managed installer
Once you configure the Intune management extension, you can track the progress of the configuration using the App Control for Business blade by navigating to the Microsoft Intune admin center > Endpoint security > App Control for Business (Preview) > Managed installer. The overview shows the success and error state.
You can then drill in further by clicking on the managed installer policy where you can see an overview of the deployment.
A detailed view of the deployment status is available in Device status which shows the success and failure for each individual device. You can add an additional column “Last run message” to get a detailed description of the error on the client side.
The last run message will contain the reason enabling the Intune management extension has failed to be enabled as a managed installer and will mirror what is logged in the AgentExecutor.log on the device.
Troubleshooting failures enabling Intune Mangement Extension as managed installer
The mechanism used to enable the Intune management extension as a managed installer is a detection and remediation PowerShell script that leverages the Get-AppLockerPolicy and Set-AppLockerPolicy cmdlets.
The Intune management extension executes these PowerShell scripts, and you can be track them using the Agentexecutor.log located in C:ProgramDataMicrosoftIntuneManagementExtensionLogs. You can remotely collect the Intune management extension logs via the device action “Collect diagnostics” in the Microsoft Intune admin center.
The AgentExecutor will first run the detection script, detect.ps1. If the Intune management extension needs to be configured as a managed installer, it will then run the SET remediation script remediation.ps1 and subsequently confirm this has worked by running the detection script again. So, a GET, SET, GET leveraging the PowerShell cmdlets mentioned above.
Detection (first GET)
All Intune tenants will use the same policy id for the detection and remediation script, d78c1822-e082-491a-b3a7-4a701836481e. The detection process will attempt to do the following once a day:
It will call the Get-AppLockerPolicy -Effective -Xml PowerShell cmdlet to get the current policy.
Search for the <RuleCollection Type=”ManagedInstaller” EnforcementMode=”AuditOnly”> XML node.
If this XML node is found, then it will attempt to match the publisher, file and version of the current policy with the embedded XML in the script.
You can see the detection process in the AgentExector.log:
Here, you can see the detect.ps1 running and returning an exit code of 1 highlighted in yellow. The write output text, highlighted in red, is where the error message is written to.
In this example we can see the Intune management extension is not set as managed installer which is expected if the device has just been enrolled or the managed installer feature has just been enabled:
Info detect.ps1 VerifyCompliance returned False
Info detect.ps1 Check if the registry value is there and remove it if it is there
Info detect.ps1 Intune management extension is not set as a managed installer
Intune management extension is NOT set as the managed installer.
You can manually test the detection process by running the following PowerShell command on a device:
Get-AppLockerPolicy -Effective -Xml
This will return the XML that is effective on the device and you can inspect it to see if this includes the Intune management agent.
Remediation (SET)
The Agent Executor will now attempt to remediate the device and set the Intune management extension as managed installer.
During remediation, the script will:
Attempt to start all the relevant services.
Call the Set-AppLockerPolicy -Merge PowerShell cmdlet.
The script will then wait for 5 minutes for the C:WindowsSystem32AppLockerManagedInstaller.AppLocker file to be created or updated.
In this example the remediation.ps1 exits with code 1 (highlighted in yellow), and the reason is contained in the write output (highlighted in red).
The remediate script will attempt to set the AppLocker policy for Intune management extension and merge with any existing policies on the device, there’s a 5-minute timeout window for this operation to complete, during which the script will attempt to set the policy 16 times.
Here’s a snippet from the output:
remediate.ps1 Calling MergeAppLockerPolicy
MergeAppLockerPolicy Merging and setting AppLocker policy
MergeAppLockerPolicy Trying to set app locker policy
remediate.ps1 Calling WaitForPolicyUpdate
WaitForPolicyUpdate Waiting for policy to be updated
WaitForPolicyUpdate Waiting a maximum of 300 seconds for the policy to be updated
Error MergeAppLockerPolicy Failed 1
At C:WindowsIMECacheHealthScriptsd78c1822-e082-491a-b3a7-4a701836481e_8remediate.ps1:108 char:13
+ LogLine -functionName $MyInvocation.MyCommand -logLine “F …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,LogLine
MergeAppLockerPolicy The local policy cannot be obtained. Reason: Error HRESULT
E_FAIL has been returned from a call to a COM component.
In this case, there has been an issue running the Set-ApplockerPolicy -XMLPolicy. To try and isolate this issue further, try running the Set-AppLockerPolicy cmdlet within PowerShell manually. To do this, follow these steps:
On the device download psexec from: PsExec – Sysinternals
Run the following command to launch PowerShell in the system context from the command line:
psexec -i -d -s C:WindowsSystem32WindowsPowerShellv1.0powershell.exe
Type: whoami to confirm the user is system
Run the following PowerShell cmdlet to backup the existing policy:
Get-AppLockerPolicy -Effective -Xml | Out-File -FilePath “c:applocker_policy.xml”
Create a text file and paste in the following:
<AppLockerPolicy Version=”1″ />
Rename the text file to policy.xml and save this on the local drive
Run the following Powershell cmdlet
Set-AppLockerPolicy -XMLPolicy “C:policy.xml”
Note: This will delete the existing AppLocker policy as described in the following article. If the managed installer is not disabled in the Intune admin center the script will attempt to run again 24 hours later.
If Step 7 fails using the basic XML file, then it is likely that there are some permissions issues which can be investigated further using procmon.
If Step 7 works without any issue, then it is likely that there’s a problem with merging with the existing AppLocker policy, try running Step 7 again but use the applocker_policy.xml created in Step 4 to see if there’s an error related to the XML formatting.
Support for managed installer in Hybrid scenarios
When deploying managed installer for Microsoft Entra hybrid joined devices, please consider the following limitations:
The Set-ApplockerPolicy cmdlet used in the remediation.ps1 has a dependency on group policy updating on domain joined devices, if the device is not connected to the domain or if there are delays when updating group policy then this could cause this cmdlet to fail, and managed installer will not be enabled for the Intune management extension.
The group policy update dependency for enabling the Intune management extension as a managed installer impacts Windows Autopilot deployments for Entra hybrid joined devices in the following scenarios:
If you use a Win32 application to configure a VPN during Autopilot for Entra hybrid joined devices and have enabled Intune management extension as a managed installer then the VPN application will never be installed, it won’t have connectivity to the domain which will prevent the Intune management extension from being enabled as a managed installer. The Win32 app will fail to install because it’s not tagged as safe, and the Intune management extension won’t be enabled as a managed installer because there’s no domain connectivity.
Simply, without the domain connectivity the remediation script will fail and without Intune management extension being enabled as a managed installer the VPN application will never install.
If the device has line of sight to a domain controller during Autopilot and there are delays updating group policy, then this can also prevent the Set-AppLockerPolicy from completing and cause the configuration of the Intune management extension as a managed installer to fail. This will cause any Win32 applications to fail that are deployed during the Autopilot Enrollment Status Page (ESP) phases.
This is documented in: “What considerations should I have for Entra Hybrid Join (HAADJ) devices within my organization that want to use Managed Installer?”
If you’re using or wanting to use application control policies and encounter any issues with configuring Intune management extension as a managed installer, hopefully the troubleshooting steps and guidance in this post helps you diagnose and resolve them quickly.
If you have a question or feedback, leave a comment below or reach out on X @IntuneSuppTeam.
Microsoft Tech Community – Latest Blogs –Read More
How can i draw shaded confidence region with nlparci and lsqcurvfit?
[k,Rsdnrm,Rsd,ExFlg,OptmInfo,Lmda,Jmat] = lsqcurvefit(@simulatedhs,k0,tforward,[Hdata,HSdata],lb,ub);
CI = nlparci(k,Rsd,’jacobian’,Jmat);[k,Rsdnrm,Rsd,ExFlg,OptmInfo,Lmda,Jmat] = lsqcurvefit(@simulatedhs,k0,tforward,[Hdata,HSdata],lb,ub);
CI = nlparci(k,Rsd,’jacobian’,Jmat); [k,Rsdnrm,Rsd,ExFlg,OptmInfo,Lmda,Jmat] = lsqcurvefit(@simulatedhs,k0,tforward,[Hdata,HSdata],lb,ub);
CI = nlparci(k,Rsd,’jacobian’,Jmat); curve fitting, parameter estimation, statistics information, confidence region MATLAB Answers — New Questions
chosing the right Vnom, Qnom point in Shepherd model
Hello, I’m currently using the battery library in Simulink, based on the Shepherd model. When I input the nominal voltage values as specified in the datasheet, I notice that the curve accuracy diminishes after the nominal voltage range. However, when I manually select different points, I obtain a more accurate curve. Which approach is preferable: relying on the nominal voltage values provided in the datasheet or selecting my own points to achieve a more accurate representation of the battery’s behavior?Hello, I’m currently using the battery library in Simulink, based on the Shepherd model. When I input the nominal voltage values as specified in the datasheet, I notice that the curve accuracy diminishes after the nominal voltage range. However, when I manually select different points, I obtain a more accurate curve. Which approach is preferable: relying on the nominal voltage values provided in the datasheet or selecting my own points to achieve a more accurate representation of the battery’s behavior? Hello, I’m currently using the battery library in Simulink, based on the Shepherd model. When I input the nominal voltage values as specified in the datasheet, I notice that the curve accuracy diminishes after the nominal voltage range. However, when I manually select different points, I obtain a more accurate curve. Which approach is preferable: relying on the nominal voltage values provided in the datasheet or selecting my own points to achieve a more accurate representation of the battery’s behavior? matlab, plot, battery_system_management, shepherd MATLAB Answers — New Questions