Month: October 2024
MACP not loading after update
My current environment is S4B 2015 Standard Edition. I decided to add a 2019 Standard edition to manage the 2015 via macp for the time being. I installed it on Server 2022 and ran the scripts to add support for Server 2022. Everything including the MACP was working fine until I tried running the S4B updates. Since the reboot, when I go to “https://s4b.network.domain.com/macp” I just see the S4B logo, the words “loading” and the spinning wheel forever (did it all night). However if I use “https://localhost/macp” or “https://s4b/macp” the login page will load immediately; however I can’t login as it is not the proper fqdn and I get the error ““The AppliesTo element of web ticket request points to a different web server or site”.
I can’t see anything in any of the windows or IIS logs that points to any kind of error. There is one repeating error but it was happening prior to my updates so it’s probably not related, but it is Event ID 5061 Audit Failure for key: iisCngConfigurationKey operation: open key, return code 0x80090016.
Any assistance would be appreciated!
My current environment is S4B 2015 Standard Edition. I decided to add a 2019 Standard edition to manage the 2015 via macp for the time being. I installed it on Server 2022 and ran the scripts to add support for Server 2022. Everything including the MACP was working fine until I tried running the S4B updates. Since the reboot, when I go to “https://s4b.network.domain.com/macp” I just see the S4B logo, the words “loading” and the spinning wheel forever (did it all night). However if I use “https://localhost/macp” or “https://s4b/macp” the login page will load immediately; however I can’t login as it is not the proper fqdn and I get the error ““The AppliesTo element of web ticket request points to a different web server or site”. I can’t see anything in any of the windows or IIS logs that points to any kind of error. There is one repeating error but it was happening prior to my updates so it’s probably not related, but it is Event ID 5061 Audit Failure for key: iisCngConfigurationKey operation: open key, return code 0x80090016. Any assistance would be appreciated! Read More
Updated Copilot app doesn’t work with Work account
There was an update to the Copilot app on Oct 3, 2024 (1.0.4.0), and now the app is acting weird on my Copilot+PC work laptop.
I press the dedicated Copilot button and expect to have Copilot open from the right. Instead I get a centered screen (which by the way is this address: https://copilot.microsoft.com/?dpwa=1 ) telling me “It looks like you’re signed in with your work account. The Copilot experience for work is now at copilot.cloud.microsoft.” There is also a button “Go to Copilot for work” which goes to this address
https://copilot.cloud.microsoft/?fromCode=pwa, but funny enough, it doesn’t redirect within the window but instead opens the address in the Edge browser!? 🤷:male_sign:
In comparison opening https://copilot.microsoft.com/ in the browser navigates directly to the new address for the Copilot experience for work, no issues.
Why doesn’t the app just redirect directly to the new address for work accounts so I can use the Copilot button as intended?
Thanks!
There was an update to the Copilot app on Oct 3, 2024 (1.0.4.0), and now the app is acting weird on my Copilot+PC work laptop. I press the dedicated Copilot button and expect to have Copilot open from the right. Instead I get a centered screen (which by the way is this address: https://copilot.microsoft.com/?dpwa=1 ) telling me “It looks like you’re signed in with your work account. The Copilot experience for work is now at copilot.cloud.microsoft.” There is also a button “Go to Copilot for work” which goes to this address https://copilot.cloud.microsoft/?fromCode=pwa, but funny enough, it doesn’t redirect within the window but instead opens the address in the Edge browser!? 🤷:male_sign:In comparison opening https://copilot.microsoft.com/ in the browser navigates directly to the new address for the Copilot experience for work, no issues. Why doesn’t the app just redirect directly to the new address for work accounts so I can use the Copilot button as intended? Thanks! Read More
Quser hangs and how to find the citrix load index equivalent
Dear all,
at first, I was mostly active in a german forum, but most experts of it don’t speak german… so I think in english I get more contact to admins with good knowledge.
But could you give me some hints which foum, community here is the most activ one for questions on topics Windows Server, Remote Desktop Services and Active Directory?
I found this sites and I am not sure how to select the right one:
https://learn.microsoft.com/en-us/answers/tags/301/remote-desktop
https://learn.microsoft.com/en-us/answers/tags/220/windows-server
https://techcommunity.microsoft.com/t5/windows-server/ct-p/Windows-Server
https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/bd-p/WindowsServer
Now to my current question on Remote Desktop Services:
We have a farm with over 30 rdsh.
Since some weeks we have login issues. We encountered, that we also have issues with getting session information with the “quser” command. The prompt hangs and no output is done.
We have no idea why this happens. Did anybody seen this before?
Second question:
Some years ago we had Citrix Terminalservers. There was a thing called load index.
The Citrix TS put up their load to the max value of 10000 during a logon process from a user. Afterwards it comes down to a lower value based on some math rules for ressources and so on.
I haven’t found any command in RDS to get a value alike the load value. Is RDS doing something similar to the load index like Citrix? Where can I get this value? How does a rdsh prevent too many logins at the same time? If we force simultaneously logons the user gets a message with i assume is in english “remote desktop services utilized” (in german Remotedesktopdienste ausgelastet).
And also the quser command seems to take a “short break” and the output comes some seconds later.
Best regards,
Stefan
Dear all, at first, I was mostly active in a german forum, but most experts of it don’t speak german… so I think in english I get more contact to admins with good knowledge.But could you give me some hints which foum, community here is the most activ one for questions on topics Windows Server, Remote Desktop Services and Active Directory?I found this sites and I am not sure how to select the right one:https://learn.microsoft.com/en-us/answers/tags/301/remote-desktop https://learn.microsoft.com/en-us/answers/tags/220/windows-server https://techcommunity.microsoft.com/t5/windows-server/ct-p/Windows-Server https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/bd-p/WindowsServer Now to my current question on Remote Desktop Services:We have a farm with over 30 rdsh.Since some weeks we have login issues. We encountered, that we also have issues with getting session information with the “quser” command. The prompt hangs and no output is done.We have no idea why this happens. Did anybody seen this before? Second question:Some years ago we had Citrix Terminalservers. There was a thing called load index.The Citrix TS put up their load to the max value of 10000 during a logon process from a user. Afterwards it comes down to a lower value based on some math rules for ressources and so on.I haven’t found any command in RDS to get a value alike the load value. Is RDS doing something similar to the load index like Citrix? Where can I get this value? How does a rdsh prevent too many logins at the same time? If we force simultaneously logons the user gets a message with i assume is in english “remote desktop services utilized” (in german Remotedesktopdienste ausgelastet).And also the quser command seems to take a “short break” and the output comes some seconds later. Best regards,Stefan Read More
Enhanced OneDrive Search Experience: New Features to Boost Productivity
Today, users often find themselves frustrated searching for specific files across a load of documents, resulting in wasted time. Microsoft OneDrive is introducing a suite of enhancements designed to optimize the search experience enabling users to quickly locate the files they need, making the process faster and more efficient than ever before.
Let’s take a look at what’s new:
File Type Filter Pills
With file type filter pills you can leverage the easy-to-use filters to narrow down your search results by specific file types including documents, spreadsheets, presentations, and more. Simply click on the filter pills to quickly find the files that matter most, saving you from sifting through irrelevant data.
Date Filter for Scoped Time Search
The new date filter option adds another layer of precision to your searches. You can now define specific time frames to find files modified within a certain period. Whether you’re looking for documents from last week, last month, or last year, this feature ensures that your search results are timely and relevant.
Additional information to help you easily identify the right search results
Location Column for Source Origin
Knowing where your files come from is essential, especially when collaborating with others. The enhanced OneDrive search now features a location column that shows whether a file is from a specific site or another user’s OneDrive. This transparency makes it easy to identify file sources, improving collaboration and file management.. If you want to find more files in this location, you can simply click on the location column and navigate to it directly.
Created By and Modified By Metadata
To make file identification even easier, the search results page now shows who created the file and who last updated it. This dual approach gives you immediate context about file ownership and activity, making it simpler to track changes and coordinate with your team.
Switching Between All Files, My Files, Current Folder, and Current Library Scope
Flexibility in search scope is super important. Now, you can toggle between “All Files,” “My Files,” “Current Folder,” and “Current Library” on the search results page. This feature allows for a broader search across all accessible files or a more focused search within your personal files, a specific folder, or a document library, depending on your needs at any given moment.
We are excited for these enhancements rolling out now to the OneDrive search experience to help you work smarter and more efficiently! With powerful new tools to filter and identify your files, OneDrive is committed to supporting your productivity and collaboration needs.
Stay tuned for more exciting updates as we continue to innovate and enhance your OneDrive search experience.
Join us for our event on October 8th , Microsoft OneDrive: AI Innovations for a New Era of Work and Home.
Learn more from our blog- https://aka.ms/OneDrive/EventBlog
Download to your calendar- https://aka.ms/CalendarInviteOneDrive
Microsoft Tech Community – Latest Blogs –Read More
MVP’s Favorite Content: Azure, KQL, GitHub Copilot, Intune
In this blog series dedicated to Microsoft’s technical articles, we’ll highlight our MVPs’ favorite article along with their personal insights.
Nicholas Chang, Microsoft Azure MVP, United Kingdom
Azure documentation | Microsoft Learn
“I highly recommend using the Microsoft Learn Azure documentation if you are looking for any resources to learn about Azure. I use Azure for my day job, and I often refer to the Microsoft Learn Azure docs for guidance and reference.”
Sasha Kranjac, Microsoft Regional Director / Security MVP, Croatia
Kusto Query Language (KQL) overview – Azure Data Explorer & Real-Time Intelligence | Microsoft Learn
“Kusto Query Language (KQL) should be a part of every security person’s arsenal. It is a powerful language to explore data, discover patterns, identify anomalies, for querying telemetry, logs and metrics. KQL subtree (a documentation branch) contains learning resources to help you getting started: quick reference guide, syntax conventions, “Train me” tutorials collection, best practices for KQL queries, plus functions, operators and statements documentation. Whether you are new to KQL or want to improve your KQL skills, included links will help you become familiar with and learn KQL. After all, KQL is the language of Microsoft Defender XDR Advanced hunting, Microsoft Sentinel, Azure Data Explorer and other products.”
*Relevant Activities: I deliver a lot of technical sessions and presentations at conferences and customers’ sites worldwide, and all of them include a mix of the hottest topics of today: security, Azure, Microsoft 365 and AI. You can attend my and many other extraordinary sessions at the conferences I strongly recommend: European Collaboration Summit, North American Collaboration Summit, European Cloud Summit, CollabDays (series of events organized worldwide) and many others
Rezwanur Rahman, M365 MVP, Austria
Develop code features using GitHub Copilot tools – Training | Microsoft Learn
“I highly recommend the module “Develop code features using GitHub Copilot tools” from Microsoft Learn. This content is essential for developers eager to integrate advanced AI-assisted coding tools into their workflow. GitHub Copilot, powered by OpenAI, offers intelligent code suggestions that can significantly accelerate development, improve code quality, and enhance productivity. This module provides a thorough introduction to using Copilot tools effectively, including how to leverage its capabilities to streamline code writing and debugging processes. It includes practical examples, tips, and best practices that help both novice and experienced developers get the most out of GitHub Copilot. By engaging with this module, you can boost your coding efficiency and stay ahead in the fast-evolving world of software development.”
Somesh Pathak, Security MVP, Netherlands
What’s new in Microsoft Intune June 2024 | Microsoft Intune Blog
“RAC (Remove apps and configuration) feature is beneficial because it allows IT admins to troubleshoot mobile devices more effectively by temporarily removing apps or configurations that might be causing issues. The key advantage is that it automatically restores these settings within 8-24 hours, ensuring devices quickly return to compliance without manual intervention. This not only saves time but also streamlines the troubleshooting process, making it easier to identify and resolve problems without long-term disruptions.”
*Relevant Blog: RAC(Remove apps and configuration) – The “Undo Button” for Intune (intuneirl.com)
Microsoft Tech Community – Latest Blogs –Read More
What is Microsoft Entra (and why use it)?
Microsoft Entra is a family of identity and network access products designed to implement a Zero Trust security strategy. It is part of the Microsoft Security portfolio which also includes Microsoft Defender for cyberthreat protection and cloud security, Microsoft Sentinel for security information and event management (SIEM), Microsoft Purview for compliance, Microsoft Priva for privacy and Microsoft Intune for endpoint management.
Zero-trust strategy
The Zero Trust security strategy is a modern approach to cybersecurity that assumes no user or device, whether inside or outside the network, should be trusted by default. Instead, every access request must be verified and authenticated before granting access to resources. This strategy is designed to address the complexities of the modern digital environment, including remote work, cloud services, and mobile devices.
Why use Entra
Microsoft Entra ID (formerly Azure AD) is a cloud-based identity and access management solution that offers several benefits over traditional on-premises solutions:
– Unified Identity Management: Entra provides a comprehensive identity and access management solution that spans across hybrid and cloud environments. This means you can manage user identities, access rights, and entitlements in a unified manner, which simplifies administration and enhances security.
– Seamless User Experiences: Entra supports Single Sign-On (SSO), allowing users to access multiple applications with a single set of credentials. This reduces password fatigue and improves user experience.
– Adaptive Access Policies: Entra enables strong authentication and real-time, risk-based adaptive access policies without compromising user experience. This helps in securing access to resources and data effectively
– Integration with External Identities: Entra External ID allows organizations to securely manage and authenticate users who are not part of their internal workforce, such as customers, partners, and other external collaborators. This is particularly useful for businesses needing to collaborate securely with external partners
– Market Challenge Addressed: Entra addresses the market challenge of providing a comprehensive IAM solution across hybrid and cloud environments that ensures security, simplifies user authentication, and enables secure access to resources
– Scalability: Cloud solutions like Entra can scale easily to accommodate growing numbers of users and applications without the need for additional hardware or infrastructure.
– Cost Efficiency: By using a cloud solution, organizations can reduce the costs associated with maintaining on-premises infrastructure, such as servers and networking equipment.
– Flexibility: Entra provides flexibility in terms of deployment and integration with various applications and services, both within and outside the Microsoft ecosystem.
– Security: Cloud solutions often come with built-in security features and regular updates to protect against emerging threats. Entra includes robust support for Conditional Access and Multi-Factor Authentication (MFA), which are essential for protecting sensitive data
As you can see, you have many reasons to be excited about Entra and its suite of products.
More on Entra products
Microsoft Entra is designed to provide identity and access management, cloud-infrastructure management, and identity verification. It works on:
On-premises.
Across Azure, AWS, Google Cloud.
Across Microsoft and third-party apps, websites, and devices.
Here are the key products and solutions within the Microsoft Entra product family.
– Microsoft Entra ID: This is a comprehensive identity and access management solution. It includes features like conditional access, role-based access control, multifactor authentication, and identity protection. Entra ID helps organizations manage and protect identities, ensuring secure access to apps, devices, and data.
– Microsoft Entra Domain Services: This product provides managed domain services such as domain join, group policy, lightweight directory access protocol (LDAP), and Kerberos/NTLM authentication. It enables organizations to run legacy applications in the cloud that can’t use modern authentication methods, or where you don’t want directory lookups to always go back to an on-premises Active Directory Domain Services (AD DS) environment. You can lift and shift those legacy applications from your on-premises environment into a managed domain, without needing to manage the AD DS environment in the cloud.
– Microsoft Entra Private Access provides users (in office or working remotely) secured access to private, corporate resources. It enables remote users to connect to internal resources from any device and network without requiring a virtual private network (VPN). The service offers per-app adaptive access based on Conditional Access policies, for more granular security than a VPN.
– Microsoft Entra Internet Access secures access to Microsoft services, SaaS, and public internet apps while protecting users, devices, and data against internet threats through the identity-centric, device-aware, cloud-delivered Secure Web Gateway (SWG) of Microsoft Entra Internet Access.
– Microsoft Entra ID Governance is an identity governance solution that helps ensure that the right people have the right access to the right resources at the right time by automating access requests, assignments, and reviews through identity lifecycle management.
– Microsoft Entra ID Protection helps organizations detect, investigate, and remediate identity-based risks. These identity-based risks can be further fed into tools like Conditional Access to make access decisions or fed back to a security information and event management (SIEM) tool for further investigation and correlation.
– Microsoft Entra Verified ID is a credential verification service based on open decentralized identities (DID) standards. This product is designed for identity verification and management, ensuring that users’ identities are securely verified. It supports scenarios like verifying workplace credentials on LinkedIn.
– Microsoft Entra External ID: This product focuses on managing external identities, such as customers, partners, and other collaborators who are not part of the internal workforce. It allows organizations to securely manage and authenticate these external users, providing features like custom-branded sign-up experiences, self-service registration flows, and user management.
– Microsoft Entra Permissions Management: This product deals with managing permissions and access controls across various systems and applications, ensuring that users have the appropriate level of access. It enables organizations to detect, automatically right-size, and continuously monitor unused and excessive permissions across Microsoft Azure, Amazon Web Services (AWS), and Google Cloud Platform (GCP).
– Microsoft Entra Workload ID: This product helps apps, containers and services securely access cloud resources, providing identity and access management for workload.
Which Entra product to choose?
We’ve explained some important products, but you might still wonder what to choose, so let’s look at some scenarios.
Scenario: GitHub Actions Integration
A development team uses GitHub Actions for continuous integration and continuous deployment (CI/CD) pipelines. They need to securely access Azure resources without managing secrets.
Recommended product: Entra Workload ID
Why Entra Workload ID? Microsoft Entra Workload ID supports workload identity federation, allowing GitHub Actions to access Azure resources securely by federating identities from GitHub. This eliminates the need to manage secrets and reduces the risk of credential leaks
Scenario: Internal Employee Access Management
A large enterprise needs to manage access to its internal applications and resources for thousands of employees. The organization wants to implement multifactor authentication (MFA), conditional access policies, and role-based access control (RBAC) to ensure secure access.
Recommended product: Entra ID
Why Entra ID? Microsoft Entra ID is ideal for this scenario because it provides comprehensive identity and access management solutions, including MFA, conditional access, and RBAC. These features help ensure that only authorized employees can access sensitive resources, enhancing security and compliance.
Scenario: Single Sign-On (SSO) for Internal Applications
A company wants to streamline the login process for its employees by implementing Single Sign-On (SSO) across all internal applications, including Microsoft 365, Salesforce, and custom-built apps.
Recommended product: Entra ID
Why Entra ID? Microsoft Entra ID supports SSO, allowing employees to use a single set of credentials to access multiple applications. This improves user experience, reduces password fatigue, and enhances security by centralizing authentication and access management.
Scenario: Kubernetes Workloads
An organization runs multiple applications on Kubernetes clusters and needs to securely access Azure resources from these workloads.
Recommended product: Entra Workload ID
Why Entra Workload ID? Entra Workload ID enables Kubernetes workloads to access Azure resources without managing credentials or secrets. By establishing a trust relationship between Azure and Kubernetes service accounts, workloads can exchange trusted tokens for access tokens from Microsoft Identity Platform
Scenario: e-commerce company, customer portal
An e-commerce company wants to create a customer portal where users can sign up, log in, and manage their accounts. The company needs to provide a seamless and secure registration and login experience for its customers.
Recommended product: Entra External ID.
Why Entra External ID? Microsoft Entra External ID is designed for managing external identities, such as customers. It offers features like custom-branded sign-up experiences, self-service registration flows, and secure authentication, making it the perfect fit for creating a customer portal.
Scenario: Partner Collaboration
A manufacturing company collaborates with multiple external partners and suppliers. The company needs to provide secure access to shared resources and applications while ensuring that only authorized partners can access specific data.
Recommended product: Entra External ID
Why Entra External ID? Microsoft Entra External ID is ideal for managing external identities, such as partners and suppliers. It allows the company to securely manage and authenticate external users, providing features like B2B collaboration and access management, ensuring that only authorized partners can access the necessary resources.
Getting started with Entra ID
Title
Description
Link
Microsoft Identity Platform Dev Center
On-stop show for docs, tutorials, videos and more
Training for Microsoft Entra ID
Microsoft Learn, skill yourself on a number of modules
Training for Microsoft Entra ID | Microsoft Learn
What is Microsoft Entra ID
Starting page on official Docs explaining Entra Id, a great place to start
What is Microsoft Entra ID? – Microsoft Entra | Microsoft Learn
Tutorial: Sign in user to Entra
Node.js tutorial
Tutorial: Add sign-in with Microsoft Entra
Java tutorial
Add sign-in with Microsoft Entra account to a Spring web app – Java on Azure | Microsoft Learn
Tutorial: Register a Python app with Entra
Python tutorial
Tutorial: Register a .NET App with Entra
.NET Core
Getting started with Entra External ID
Title
Description
Link
One stop shop, identity platform Developer Center
Great starting point to learn news, docs, tutorials, videos and more
Microsoft Entra External ID | Simplify customer identity management | Microsoft Developer
Tutorial: Add authentication to Vanilla SPA App
JavaScript tutorial
Tutorial: Sign in users to Node.js app
JavaScript/Node.js tutorial
Sign in users in a sample Node.js web application – Microsoft Entra External ID | Microsoft Learn
Tutorial: Sign in users to ASP .NET Core
.NET Core tutorial
Sign in users to a Python Flask app
Python tutorial
Tutorial: Sign in to Node.js app
JavaScript/Node.js tutorial
Tutorial: Sign in users to .NET Core app
.NET Core Tutorial
Summary and takeaways
In summary, we introduced you to Entra and some of its products in a large family of products. You were also shown some scenarios and what products would fit. Finally, we recommended some great starter links. Hope you’re off to a great start, thanks for reading!
Microsoft Tech Community – Latest Blogs –Read More
Import .XML data into Matlab?
Hi guys,
I want to import an xml file and its data into matlab so that I can read the data.
I know you have to do something like: xDoc = xmlread(‘info.xml’);
But I don’t know much else after that. What code would I need to write to get the ‘Customer’ details from a .xml file with following content?
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<Shop Target="Something" Source="Something else">
<Customer ID="" LastName="Smith" FirstName="Joe" Birthday="1950/01/01" Gender="male">
<Purchase Type="Type 1" Time="2016/02/23 09:45" />
<Purchase Type="Type 2" Time="2016/02/24 09:45" />
</Customer>
</Shop>
Thank youHi guys,
I want to import an xml file and its data into matlab so that I can read the data.
I know you have to do something like: xDoc = xmlread(‘info.xml’);
But I don’t know much else after that. What code would I need to write to get the ‘Customer’ details from a .xml file with following content?
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<Shop Target="Something" Source="Something else">
<Customer ID="" LastName="Smith" FirstName="Joe" Birthday="1950/01/01" Gender="male">
<Purchase Type="Type 1" Time="2016/02/23 09:45" />
<Purchase Type="Type 2" Time="2016/02/24 09:45" />
</Customer>
</Shop>
Thank you Hi guys,
I want to import an xml file and its data into matlab so that I can read the data.
I know you have to do something like: xDoc = xmlread(‘info.xml’);
But I don’t know much else after that. What code would I need to write to get the ‘Customer’ details from a .xml file with following content?
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<Shop Target="Something" Source="Something else">
<Customer ID="" LastName="Smith" FirstName="Joe" Birthday="1950/01/01" Gender="male">
<Purchase Type="Type 1" Time="2016/02/23 09:45" />
<Purchase Type="Type 2" Time="2016/02/24 09:45" />
</Customer>
</Shop>
Thank you xml, gender MATLAB Answers — New Questions
Generating trapezoidal wave given plateau duration and total length of impulse train
Hello,
I want to plot a trapezoidal wave train knowing only the plateau times, meaning the duration of the "flat part" of the trapezoidal wave, and the total duration of the impulse train, depending on another data vector I have. I do not have the equation of the ascending or descending parts, even though I can calculate them. But I need an easy way to plot this in matlab.
The plateaus need to be 60 seconds long and total number of points needs to be equal to the length of a data vector A.
So far I only found the trapezoidal equation with some parameters:
a = 0.5 %Amplitude
m = 9.55 % Time Period
l = 3*pi/2 % phase
c = a/2 % offset
x = 0:.1:100 %Sample Points
Trapezoidal_Wave = a/pi*(asin(sin((pi/m)*x+l))+acos(cos((pi/m)*x+l)))-a/2+c;
plot(x, Trapezoidal_Wave)
However I cannot control the plateau duration (or I don’t understand how). Any help and any better way to do this would be greatly appreciated. Thank you!Hello,
I want to plot a trapezoidal wave train knowing only the plateau times, meaning the duration of the "flat part" of the trapezoidal wave, and the total duration of the impulse train, depending on another data vector I have. I do not have the equation of the ascending or descending parts, even though I can calculate them. But I need an easy way to plot this in matlab.
The plateaus need to be 60 seconds long and total number of points needs to be equal to the length of a data vector A.
So far I only found the trapezoidal equation with some parameters:
a = 0.5 %Amplitude
m = 9.55 % Time Period
l = 3*pi/2 % phase
c = a/2 % offset
x = 0:.1:100 %Sample Points
Trapezoidal_Wave = a/pi*(asin(sin((pi/m)*x+l))+acos(cos((pi/m)*x+l)))-a/2+c;
plot(x, Trapezoidal_Wave)
However I cannot control the plateau duration (or I don’t understand how). Any help and any better way to do this would be greatly appreciated. Thank you! Hello,
I want to plot a trapezoidal wave train knowing only the plateau times, meaning the duration of the "flat part" of the trapezoidal wave, and the total duration of the impulse train, depending on another data vector I have. I do not have the equation of the ascending or descending parts, even though I can calculate them. But I need an easy way to plot this in matlab.
The plateaus need to be 60 seconds long and total number of points needs to be equal to the length of a data vector A.
So far I only found the trapezoidal equation with some parameters:
a = 0.5 %Amplitude
m = 9.55 % Time Period
l = 3*pi/2 % phase
c = a/2 % offset
x = 0:.1:100 %Sample Points
Trapezoidal_Wave = a/pi*(asin(sin((pi/m)*x+l))+acos(cos((pi/m)*x+l)))-a/2+c;
plot(x, Trapezoidal_Wave)
However I cannot control the plateau duration (or I don’t understand how). Any help and any better way to do this would be greatly appreciated. Thank you! plotting, impulse, trapezoidal MATLAB Answers — New Questions
EDF writing – error when using cell array as signal DATA
Hello 🙂
I would like to do a edf file entering my signals from a cell array (bin of time x EEG channels). Into each cells I have a vector containting 1000 values (mV across time). See picture:
However, I do get a very surprising error :
Error using signal.internal.edf.write.validateSignalData
Expected input to be a vector.
Error in signal.internal.edf.write.getFileCreateOpts>checkSignals (line 223)
signal.internal.edf.write.validateSignalData(sigData, …
Error in signal.internal.edf.write.getFileCreateOpts>createHdr (line 96)
[reqhdr, sigData] = checkSignals(reqhdr, sigData, tNumSignals);
Error in signal.internal.edf.write.getFileCreateOpts>createAndValidateHeader (line 47)
[hdr, sigData, tsal] = createHdr(thdr, sigData, tsal, hdrPropertiesList, …
Error in signal.internal.edf.write.getFileCreateOpts (line 13)
[hdr, sigData, tsal] = createAndValidateHeader(hdr, sigData, tsal, …
Error in edfwrite/createFile (line 1620)
signal.internal.edf.write.getFileCreateOpts(hdr, signalData, …
Error in edfwrite (line 499)
[obj, fileInfo] = createFile(obj, filename, hdr,…
It comes from this function in Matlab "source" code (function : validateSignalData ligne: 15):
validateattributes(signalData, {‘cell’}, {‘vector’});
I did check several times : Inside of each cells, I have a vector.
If I write :
isvector(data_cell{1,1})
ans =
logical
1
Valide for all cells
But if I ask :
validateattributes(data_cell, {‘cell’}, {‘vector’})
Expected input to be a vector.
Am I missing something because I do not see why my cell array would not have a vector attribute inside ?
My code when creating data_cell:
data_cell = {};
for nb_sig = 1: hdr.NumSignals
for time = 1:floor(length(LFP(1,:))/srate) % in sec
startpoint = ((time-1)*srate+1);
stoppoint = ((time-1)*srate+1) + srate;
temp_vect = LFP(nb_sig,startpoint:stoppoint);
data_cell{time, nb_sig} = temp_vect’;
end
end
file_EDF_name = "R005_S1_V4.edf";
edfw = edfwrite(fullfile(pahtway_saving,file_EDF_name),hdr,data_cell);
Link for necessary variables :
https://seafile.unistra.fr/f/f102cbe386824199a6fe/?dl=1Hello 🙂
I would like to do a edf file entering my signals from a cell array (bin of time x EEG channels). Into each cells I have a vector containting 1000 values (mV across time). See picture:
However, I do get a very surprising error :
Error using signal.internal.edf.write.validateSignalData
Expected input to be a vector.
Error in signal.internal.edf.write.getFileCreateOpts>checkSignals (line 223)
signal.internal.edf.write.validateSignalData(sigData, …
Error in signal.internal.edf.write.getFileCreateOpts>createHdr (line 96)
[reqhdr, sigData] = checkSignals(reqhdr, sigData, tNumSignals);
Error in signal.internal.edf.write.getFileCreateOpts>createAndValidateHeader (line 47)
[hdr, sigData, tsal] = createHdr(thdr, sigData, tsal, hdrPropertiesList, …
Error in signal.internal.edf.write.getFileCreateOpts (line 13)
[hdr, sigData, tsal] = createAndValidateHeader(hdr, sigData, tsal, …
Error in edfwrite/createFile (line 1620)
signal.internal.edf.write.getFileCreateOpts(hdr, signalData, …
Error in edfwrite (line 499)
[obj, fileInfo] = createFile(obj, filename, hdr,…
It comes from this function in Matlab "source" code (function : validateSignalData ligne: 15):
validateattributes(signalData, {‘cell’}, {‘vector’});
I did check several times : Inside of each cells, I have a vector.
If I write :
isvector(data_cell{1,1})
ans =
logical
1
Valide for all cells
But if I ask :
validateattributes(data_cell, {‘cell’}, {‘vector’})
Expected input to be a vector.
Am I missing something because I do not see why my cell array would not have a vector attribute inside ?
My code when creating data_cell:
data_cell = {};
for nb_sig = 1: hdr.NumSignals
for time = 1:floor(length(LFP(1,:))/srate) % in sec
startpoint = ((time-1)*srate+1);
stoppoint = ((time-1)*srate+1) + srate;
temp_vect = LFP(nb_sig,startpoint:stoppoint);
data_cell{time, nb_sig} = temp_vect’;
end
end
file_EDF_name = "R005_S1_V4.edf";
edfw = edfwrite(fullfile(pahtway_saving,file_EDF_name),hdr,data_cell);
Link for necessary variables :
https://seafile.unistra.fr/f/f102cbe386824199a6fe/?dl=1 Hello 🙂
I would like to do a edf file entering my signals from a cell array (bin of time x EEG channels). Into each cells I have a vector containting 1000 values (mV across time). See picture:
However, I do get a very surprising error :
Error using signal.internal.edf.write.validateSignalData
Expected input to be a vector.
Error in signal.internal.edf.write.getFileCreateOpts>checkSignals (line 223)
signal.internal.edf.write.validateSignalData(sigData, …
Error in signal.internal.edf.write.getFileCreateOpts>createHdr (line 96)
[reqhdr, sigData] = checkSignals(reqhdr, sigData, tNumSignals);
Error in signal.internal.edf.write.getFileCreateOpts>createAndValidateHeader (line 47)
[hdr, sigData, tsal] = createHdr(thdr, sigData, tsal, hdrPropertiesList, …
Error in signal.internal.edf.write.getFileCreateOpts (line 13)
[hdr, sigData, tsal] = createAndValidateHeader(hdr, sigData, tsal, …
Error in edfwrite/createFile (line 1620)
signal.internal.edf.write.getFileCreateOpts(hdr, signalData, …
Error in edfwrite (line 499)
[obj, fileInfo] = createFile(obj, filename, hdr,…
It comes from this function in Matlab "source" code (function : validateSignalData ligne: 15):
validateattributes(signalData, {‘cell’}, {‘vector’});
I did check several times : Inside of each cells, I have a vector.
If I write :
isvector(data_cell{1,1})
ans =
logical
1
Valide for all cells
But if I ask :
validateattributes(data_cell, {‘cell’}, {‘vector’})
Expected input to be a vector.
Am I missing something because I do not see why my cell array would not have a vector attribute inside ?
My code when creating data_cell:
data_cell = {};
for nb_sig = 1: hdr.NumSignals
for time = 1:floor(length(LFP(1,:))/srate) % in sec
startpoint = ((time-1)*srate+1);
stoppoint = ((time-1)*srate+1) + srate;
temp_vect = LFP(nb_sig,startpoint:stoppoint);
data_cell{time, nb_sig} = temp_vect’;
end
end
file_EDF_name = "R005_S1_V4.edf";
edfw = edfwrite(fullfile(pahtway_saving,file_EDF_name),hdr,data_cell);
Link for necessary variables :
https://seafile.unistra.fr/f/f102cbe386824199a6fe/?dl=1 edf, edfwrite MATLAB Answers — New Questions
Secure Score – Accounts with non-default Primary Group ID
Hi all, I am getting a report that the object (computer) on AzureADKerberos active directory does not have a correct Primary Group ID; I have checked and see no anomalies; does anyone else have this report?
Hi all, I am getting a report that the object (computer) on AzureADKerberos active directory does not have a correct Primary Group ID; I have checked and see no anomalies; does anyone else have this report? Read More
Conditional Formatting for quarters
Hi,
I’m trying to construct an AND function that will conditionally format a cell in Column H based on two criteria:
If the corresponding cell in Column H says “Quarterly” and;
If the corresponding cell in Column G displays a date that occurred in an annual quarter prior to the one we’re currently in.
For example, if the date in column G is 6/1/2024, and Column H says “quarterly,” I want the cell in Column H to be highlighted red, since 6/1/2024 was in Quarter 3, and we’re currently in Quarter 4.
I’m still pretty new to excel formulas, and I’ve tried finding a solution to this online, but none of the situations I’ve found solutions for are quite like mine.
Hi, I’m trying to construct an AND function that will conditionally format a cell in Column H based on two criteria: If the corresponding cell in Column H says “Quarterly” and;If the corresponding cell in Column G displays a date that occurred in an annual quarter prior to the one we’re currently in. For example, if the date in column G is 6/1/2024, and Column H says “quarterly,” I want the cell in Column H to be highlighted red, since 6/1/2024 was in Quarter 3, and we’re currently in Quarter 4. I’m still pretty new to excel formulas, and I’ve tried finding a solution to this online, but none of the situations I’ve found solutions for are quite like mine. Read More
D365 Finance min users (monthly)
Dear community
once again a real pain with NCE… our customer has seasonal increases in workers (oct-dec). This varies from 5-30. now when trying to add monthly finance or scm users (new subscriptions), the minumin is 20. this is so ridiculous since they already have 100+ on yearly or even triennial basis. We try to escalate it to Microsoft Switzerland, since the customer dpes not want to accept this (what I understand). Microsoft Switzerland does not believe this is a general problem
could you guys please support me and write your frustration again? 🤓
thanks in advance
Daniel
Dear communityonce again a real pain with NCE… our customer has seasonal increases in workers (oct-dec). This varies from 5-30. now when trying to add monthly finance or scm users (new subscriptions), the minumin is 20. this is so ridiculous since they already have 100+ on yearly or even triennial basis. We try to escalate it to Microsoft Switzerland, since the customer dpes not want to accept this (what I understand). Microsoft Switzerland does not believe this is a general problem could you guys please support me and write your frustration again? 🤓thanks in advanceDaniel Read More
Azure DevOps Clear Schedule Clear Field
Hi all,
I have a field in DevOps that needs to be updated on a weekly basis. It just has a dropdown of “Yes” and “No”. I need to be able to report on when this has not been completed, I have another field beside it which is a date that people are supposed to fill in when they have updated that field however people are completing the date and not updating the dropdown field from “Yes” or “No”.
I’m looking to see if there is a way to clear the contents of the field on a weekly basis and that way there is no option but to complete the field each week?
Many thanks
Sarah
Hi all,I have a field in DevOps that needs to be updated on a weekly basis. It just has a dropdown of “Yes” and “No”. I need to be able to report on when this has not been completed, I have another field beside it which is a date that people are supposed to fill in when they have updated that field however people are completing the date and not updating the dropdown field from “Yes” or “No”. I’m looking to see if there is a way to clear the contents of the field on a weekly basis and that way there is no option but to complete the field each week?Many thanksSarah Read More
Planner – inviting users rather than groups
Hello,
We are looking to roll out MS planner to our company. When users have installed the add on in Teams and go to create a new plan, it wants us to add the plan to a MS365 group.
Is there a way on creation you can simply assign the Plan to an individual user?
If not, it looks like you have to assign the plan to a group but our users are getting the message: Your organisations global admin has turned off the ability to create new MS365 groups.
It looks like you can enable users to create MS365 groups which may be an option.
What are peoples thoughts on best practise? A few of the users have expressed interest though on inviting an INDIVIDUAL to a plan, rather than a group which it looks like it forces you to use.
Hello, We are looking to roll out MS planner to our company. When users have installed the add on in Teams and go to create a new plan, it wants us to add the plan to a MS365 group. Is there a way on creation you can simply assign the Plan to an individual user? If not, it looks like you have to assign the plan to a group but our users are getting the message: Your organisations global admin has turned off the ability to create new MS365 groups. It looks like you can enable users to create MS365 groups which may be an option. What are peoples thoughts on best practise? A few of the users have expressed interest though on inviting an INDIVIDUAL to a plan, rather than a group which it looks like it forces you to use. Read More
Edge Version 129.0.2792.79 (Official build) (64-bit) email Link Bug
Since updating to Version 129.0.2792.79 (Official build) (64-bit), selecting a link in email opens in two tabs of the browser. testing shows this is specific to this version. Please fix.
Since updating to Version 129.0.2792.79 (Official build) (64-bit), selecting a link in email opens in two tabs of the browser. testing shows this is specific to this version. Please fix. Read More
Error because copilot cannot use sharepoint references wipes out whole prompt
I typed in a lengthy copilot prompt in MS Forms to generate a survey. The form was to get feedback on a meeting. Not knowing that Forms could not read the presentation slides from the meeting via a sharepoint link, I included the link. Unfortunately, when it generated the error message, it wiped out the whole prompt and there was no way to return to it. I had to retype the whole prompt which is very irritating. Why not return the user to the prompt and allow them to edit out the link?
droopy
I typed in a lengthy copilot prompt in MS Forms to generate a survey. The form was to get feedback on a meeting. Not knowing that Forms could not read the presentation slides from the meeting via a sharepoint link, I included the link. Unfortunately, when it generated the error message, it wiped out the whole prompt and there was no way to return to it. I had to retype the whole prompt which is very irritating. Why not return the user to the prompt and allow them to edit out the link? droopy Read More
Troubleshoot in windows 10 without losing data
How can I troubleshoot performance issues in Windows 10 without losing data?
How can I troubleshoot performance issues in Windows 10 without losing data? Read More
Introducing the Use Cases Mapper workbook
1. Intro
While looking for the most effective use cases for Sentinel, it usually makes sense to start with data sources that already exist in some way in the corporate environment, whether due to a previous / third-party SIEM integration or due to an already implemented security stack / solution. The next logical step in this process is to determine preexisting sentinel solutions for the products already in use. Unfortunately, this often occurs only inadequately or is not carried out completely due to lack of resources. In addition, the solutions available (so called Content-Hub-Solutions) continue to evolve and once implemented, necessary updates may be neglected. This is where the Use Case Mapper Workbook can help.
The workbook and the complementary resources (watchlists) can be used to map common Use Cases to the Mitre ATT&CK framework, i.e. the tactics and techniques listed there. This gives you a quick overview of the analysis options available in Sentinel (e.g. Analytic Rules & Hunting Queries) according to these Use Cases.
The identified Use Cases in this context are:
Credential Exploitation
Lateral Movement
Rapid Encryption
Command and Control Communication
Insider Risk
Anomalous Privilege Escalation
Third-Party Abuses
Overexposure
Data Exfiltration
Mobile Data Security
Communication Abuse
Web Application Abuse
NOTE: These can change over time, as attack & defense strategies and techniques are constantly changing as well.
To be able to adapt this information to your own needs, the option of reducing the results to selected Data Sources (Content Hub Solutions) has been implemented as well.
2. Prerequisites
Before getting started, you have to check the prerequisites that should be fulfilled.
an Azure subscription with a Sentinel equipped Log Analytic Workspace
The correct RBAC roles assigned – for the sake of simplicity, it should be ‘Contributor’ or ‘Owner’
3. How to deploy/get started
Go to the following website: Azure-Sentinel/Workbooks/use cases mapper workbook at master · Azure/Azure-Sentinel · GitHub
Look for the ‘Deploy to Azure‘ button
Log into a suitable tenant
Enter the required information (subscription, resource group, region, workspace name) (1) and click ‘Review + create’ (2)
Check your entered information again and confirm it by clicking on ‘Create‘
The new workbook (Use Case Mapper) should now appear in Sentinel in ‘Workbooks’ section.
4. How to use & structure
In the first section of the workbook, you have the option to select one of the predefined Use Cases.
The next step (2nd step) is to select the right data source/solution.
The selection made before is presented in section 3 below.
Based on the selections made, the following information is presented.
Analytical rules – ID | Name | Solution | Technique + graphical representation
Hunting Queries – ID | Name | Solution | Technique + graphical representation
Workbooks – Name | Solution
5. Conclusion
The Use Case Mapper Workbook is an invaluable tool for identifying gaps in your Sentinel environment and the established Content-Hub-Solutions. It simplifies the process of supplementing your solutions to achieve a complete implementation. Additionally, it helps you stay informed about updates (such as new hunting queries, analytic rules, or workbooks) and makes it possible to integrate them promptly. The workbook also provides a clear picture of the threats and vulnerabilities that should be mitigated with your solutions and where they can be found within the Mitre Att&ck Framework.
Microsoft Tech Community – Latest Blogs –Read More
How to set the control algorithm’s execution frequency on the flight control board when using the UAV Toolbox Support Package for PX4 Autopilots?
When I am designing a control algorithm using the PX4 support package, I want to set the execution frequency of my control algorithm on the real flight board. I’m not sure if it’s set under "Model settings -> solver". Moreover, I don’t know how to verify whether my control algorithm is running with the step size I’ve set. Does anyone understand this issue? Please help me, thank you very much!When I am designing a control algorithm using the PX4 support package, I want to set the execution frequency of my control algorithm on the real flight board. I’m not sure if it’s set under "Model settings -> solver". Moreover, I don’t know how to verify whether my control algorithm is running with the step size I’ve set. Does anyone understand this issue? Please help me, thank you very much! When I am designing a control algorithm using the PX4 support package, I want to set the execution frequency of my control algorithm on the real flight board. I’m not sure if it’s set under "Model settings -> solver". Moreover, I don’t know how to verify whether my control algorithm is running with the step size I’ve set. Does anyone understand this issue? Please help me, thank you very much! simulink, uav toolbox support package for px4 autopilots MATLAB Answers — New Questions
How to loop through values?
Let’s say I have 11 values of beta, evenly-spaced with linspace( ). And let’s say for each value of beta, I want to compute some things for a range of alpha values using alpha = linspace( ). How can I best do this? Currently, I do something tedious: I fix beta, run the code, press hold on in the Command Window, fix another value of beta, run code, press hold on, etc. I suspect there’s a better way to do this. Should I just write a for loop for beta = 0: 11 : pi? Thanks in advance.Let’s say I have 11 values of beta, evenly-spaced with linspace( ). And let’s say for each value of beta, I want to compute some things for a range of alpha values using alpha = linspace( ). How can I best do this? Currently, I do something tedious: I fix beta, run the code, press hold on in the Command Window, fix another value of beta, run code, press hold on, etc. I suspect there’s a better way to do this. Should I just write a for loop for beta = 0: 11 : pi? Thanks in advance. Let’s say I have 11 values of beta, evenly-spaced with linspace( ). And let’s say for each value of beta, I want to compute some things for a range of alpha values using alpha = linspace( ). How can I best do this? Currently, I do something tedious: I fix beta, run the code, press hold on in the Command Window, fix another value of beta, run code, press hold on, etc. I suspect there’s a better way to do this. Should I just write a for loop for beta = 0: 11 : pi? Thanks in advance. for loop MATLAB Answers — New Questions