Month: June 2024
Verifying answers with external tables (excel)
Hi everyone,
I’d like to verify answers entered in a form through external tables (in Excel, for instance).
Here is the situation
I run a competition and need to create two forms for the registration of
– teams
– members of each team (already registered)
The field linking both tables is the “team’s name”
For the “Team’s Members” form, I want to make sure the Team has already been created => I therefore need to test the “Team’s name” entry :
– if the entry exists in the “Teams” database (Excel file linked to the Form, I guess) => the user will be allowed to enter the data for a new member
– if it doesn’t exists, then the user will NOT be allowed to carry on (with a message indicating he has to create first a “Team”
Any idea on how to do this ?
Thank you in advance
Hi everyone,I’d like to verify answers entered in a form through external tables (in Excel, for instance).Here is the situationI run a competition and need to create two forms for the registration of- teams- members of each team (already registered)The field linking both tables is the “team’s name”For the “Team’s Members” form, I want to make sure the Team has already been created => I therefore need to test the “Team’s name” entry :- if the entry exists in the “Teams” database (Excel file linked to the Form, I guess) => the user will be allowed to enter the data for a new member- if it doesn’t exists, then the user will NOT be allowed to carry on (with a message indicating he has to create first a “Team”Any idea on how to do this ?Thank you in advance Read More
Trying to delete Sideloaded Add-Ins causes a 300 error.
I sideloaded Add-Ins via https://aka.ms/olksideload.
When I try to delete these Add-Ins again, i get a 300 Error.
Furthermore it seems to affect other Add-Ins too, as no Add-Ins are shown anymore at all in the Edit-Event Screen.
I sideloaded Add-Ins via https://aka.ms/olksideload.When I try to delete these Add-Ins again, i get a 300 Error.Furthermore it seems to affect other Add-Ins too, as no Add-Ins are shown anymore at all in the Edit-Event Screen. Read More
webhook
I am the administrator for my company’s SharePoint and Office accounts but cannot configure a webhook connection for Teams.
I get this message (see attachment).
I have all credentials and groups assigned to my user in the admin site for members’ administration.
I am trying to create a webhook using the Add Webhook option in Teams.
What credentials do I need to have? In the admin center, I have been assigned the role of Teams Communications Administrator.
I am the administrator for my company’s SharePoint and Office accounts but cannot configure a webhook connection for Teams.I get this message (see attachment).I have all credentials and groups assigned to my user in the admin site for members’ administration.I am trying to create a webhook using the Add Webhook option in Teams.What credentials do I need to have? In the admin center, I have been assigned the role of Teams Communications Administrator. Read More
Detecting service account provisioning
Hi all
I’m doing some research around the creation and enabling of old fashioned service accounts using MS Defender. I’m trying to achieve of coupe of things actually. I can detect LogonType of Service Service on MDE onboarded machines using the DeviceLogonEvents Table. But there are a few other things I would like to achieve
1.) Raise an alert when a domain account is granted the “Logon as a Service” right on any machine.
2.) When an account that has never logged on as service suddenly does so.
3.) Perhaps detect when a user account’s ServicePrincipalName attribute is populayed or updated.
So the service account logon query looks like this:
DeviceLogonEvents
| where Timestamp >= ago(30d)
| where LogonType == “Service” or LogonType == “Batch”
| where AccountDomain =~ “saica”
| summarize count() by AccountName, DeviceName, LogonType
| sort by count_ desc
The other ones seem to be a bit trickier.
Anyone got any ideas? I would rather not install the MMA agent every and ingest security event logs.
Hi all I’m doing some research around the creation and enabling of old fashioned service accounts using MS Defender. I’m trying to achieve of coupe of things actually. I can detect LogonType of Service Service on MDE onboarded machines using the DeviceLogonEvents Table. But there are a few other things I would like to achieve 1.) Raise an alert when a domain account is granted the “Logon as a Service” right on any machine. 2.) When an account that has never logged on as service suddenly does so.3.) Perhaps detect when a user account’s ServicePrincipalName attribute is populayed or updated. So the service account logon query looks like this:DeviceLogonEvents| where Timestamp >= ago(30d)| where LogonType == “Service” or LogonType == “Batch”| where AccountDomain =~ “saica”| summarize count() by AccountName, DeviceName, LogonType| sort by count_ desc The other ones seem to be a bit trickier. Anyone got any ideas? I would rather not install the MMA agent every and ingest security event logs. Read More
Dual-region deployments using Secure Virtual WAN Hub with Routing-Intent without Global Reach
This article describes the best practices for connectivity, traffic flows, and high availability of dual-region Azure VMware Solution when using Azure Secure Virtual WAN with Routing Intent. You learn the design details of using Secure Virtual WAN with Routing-Intent, without Global Reach. This article breaks down Virtual WAN with Routing Intent topology from the perspective of Azure VMware Solution private clouds, on-premises sites, and Azure native. The implementation and configuration of Secure Virtual WAN with Routing Intent are beyond the scope and aren’t discussed in this document.
In regions without Global Reach support or with a security requirement to inspect traffic between Azure VMware Solution and on-premises at the hub firewall, a support ticket must be opened to enable ExpressRoute to ExpressRoute transitivity for both regional hubs. ExpressRoute to ExpressRoute transitivity isn’t supported by default with Virtual WAN. – see Transit connectivity between ExpressRoute circuits with routing intent
Secure Virtual WAN with Routing Intent is only supported with Virtual WAN Standard SKU. Secure Virtual WAN with Routing Intent provides the capability to send all Internet traffic and Private network traffic to a security solution like Azure Firewall, a third-party Network Virtual Appliance (NVA), or SaaS solution. In the scenario, we have a network topology that spans two regions. There’s one Virtual WAN with two Hubs, Hub1 and Hub2. Hub1 is in Region 1, and Hub2 is in Region 2. Each Hub has its own instance of Azure Firewall deployed(Hub 1 Firewall, Hub 2 Firewall), essentially making them each Secure Virtual WAN Hubs. Having Secure Virtual WAN hubs is a technical prerequisite to Routing Intent. Secure Virtual WAN Hub1 and Hub2 have Routing Intent enabled.
Each region also has an Azure VMware Solution Private Cloud and an Azure Virtual Network. There’s also an on-premises site connecting to both regions, which we review in more detail later in this document.
Note
If you’re using non-RFC1918 prefixes in your connected on-premises, Virtual Networks or Azure VMware Solution, make sure you have specified those prefixes in the “Private Traffic Prefixes” text box for Routing Intent. Keep in mind that you should always enter summarized routes only in the “Private Traffic Prefixes” section to cover your range. Do not input the exact range that is being advertised to Virtual WAN as this can lead to routing issues. For example, if the ExpressRoute Circuit is advertising 40.0.0.0/24 from on-premises, put a /23 CIDR range or larger in the Private Traffic Prefix text box (example: 40.0.0.0/23). – see Configure routing intent and policies through Virtual WAN portal
Note
When configuring Azure VMware Solution with Secure Virtual WAN Hubs, ensure optimal routing results on the hub by setting the Hub Routing Preference option to “AS Path.” – see Virtual hub routing preference
Understanding Topology Connectivity
Connection
Description
Connections (D)
Azure VMware Solution private cloud connection to its local regional hub.
Connections (E)
on-premises connectivity via ExpressRoute to both regional hubs.
Inter-Hub
Inter-Hub logical connection between two hubs that are deployed under the same Virtual WAN.
The following sections cover traffic flows and connectivity for Azure VMware Solution, on-premises, Azure Virtual Networks, and the Internet.
This section focuses on only the Azure VMware Solution private clouds in both regions. Each Azure VMware Solution private cloud has an ExpressRoute connection to the hub (connections labeled as “D”).
With ExpressRoute to ExpressRoute transitivity enabled on the Secure Hub and Routing-Intent enabled, the Secure Hub sends the default RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to both Azure VMware Solution private clouds over connection “D”. In addition to the default RFC 1918 addresses, both Azure VMware Solution private clouds learn more specific routes from Azure Virtual Networks and Networks (S2S VPN, P2S VPN, SDWAN) that are connected to both Hub 1 and Hub 2. Both Azure VMware Solution private clouds don’t learn specific routes from on-premises networks. For routing traffic back to on-premises networks, it uses the default RFC 1918 addresses that it learned via connection “D” from its local regional hub. This traffic transits through the local regional Hub firewall, as shown in the diagram. The Hub firewall has the specific routes for on-premises networks and routes traffic toward the destination over connection “E”. Traffic from both Azure VMware Solution private clouds, heading towards Virtual Networks, will transit the Hub firewall. For more information, see the traffic flow section.
The diagram illustrates traffic flows from the perspective of the Azure VMware Solution Private Cloud Region 1 and Azure VMware Solution Private Cloud Region 2.
Traffic Flow Chart
Traffic Flow Number
Source
Direction
Destination
Traffic Inspected on Secure Virtual WAN Hub firewall?
1
Azure VMware Solution Cloud Region 1
→
Virtual Network 1
Yes, traffic is inspected at the Hub 1 firewall
2
Azure VMware Solution Cloud Region 1
→
On-premises
Yes, traffic is inspected at the Hub 1 firewall
3
Azure VMware Solution Cloud Region 1
→
Virtual Network 2
Yes, traffic is inspected at the Hub 1 firewall, then Hub 2 firewall.
4
Azure VMware Solution Cloud Region 1
→
Azure VMware Solution Cloud Region 2
Yes, traffic is inspected at the Hub 1 firewall, then Hub 2 firewall.
5
Azure VMware Solution Cloud Region 2
→
Virtual Network 1
Yes, traffic is inspected at the Hub 2 firewall, then Hub 1 firewall.
6
Azure VMware Solution Cloud Region 2
→
Virtual Network 2
Yes, traffic is inspected at the Hub 2 firewall.
7
Azure VMware Solution Cloud Region 2
→
On-premises
Yes, traffic is inspected at the Hub 2 firewall.
This section focuses only on the on-premises site. As shown in the diagram, the on-premises site has an ExpressRoute connection to both Hub 1 and Hub 2 (connection labeled as “E”).
With ExpressRoute to ExpressRoute transitivity enabled on both Secure Hubs and Routing-Intent enabled, each Secure Hub sends the default RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to on-premises over connection “E”. In addition to the default RFC 1918 addresses, on-premises learns more specific routes from Azure Virtual Networks and Branch Networks (S2S VPN, P2S VPN, SDWAN) that are connected to both Hub 1 and Hub 2.
By default, on-premises doesn’t learn the specific routes for both Azure VMware Solution Private Clouds. Instead, it routes to both Azure VMware Solution Private Clouds using the default RFC 1918 addresses it learns over connection “E”. On-premises will learn the default RFC 1918 addresses from both Hub 1 and Hub 2 via connection “E”.
Note
It’s extremely important to add specific routes on both hubs. If you don’t add specific routes on the hubs, it leads to suboptimal routing because on-premises uses Equal Cost multi-path (ECMP) between the “E” connections for traffic destined to any Azure VMware Solution Private Cloud. As a result, traffic between on-premises and any Azure VMware Solution Private Cloud may experience latency, performance issues, or packet drops.
To advertise a more specific route down to on-premises, it needs to be accomplished from the “Private Traffic Prefixes” box within Routing Intent. – see Configure routing intent and policies through Virtual WAN portal. You need to add a summarized route that encompasses both your Azure VMware Solution /22 block and your Azure VMware Solution subnets. If you add the same exact prefix or a more specific prefix instead of a summary route, you introduce routing issues within the Azure environment. Therefore, it’s important to remember that any prefixes added to the “Private Traffic Prefixes” box must be summarized routes.
As illustrated in the diagram, Azure VMware Solution Private Cloud 1 includes workload subnets from 10.10.0.0/24 to 10.10.7.0/24. On Hub 1, the summary route 10.10.0.0/21 is added to “Private Traffic Prefixes” because it encompasses all eight subnets. Additionally, on Hub 1, the summary route 10.150.0.0/22 is added to “Private Traffic Prefixes” to cover the Azure VMware Solution management block. Summary routes 10.10.0.0/21 and 10.150.0.0/22 are then advertised down to on-premises via connection “E”, providing on-premises with a more specific route than 10.0.0.0/8.
Azure VMware Solution Private Cloud 2 includes workload subnets from 10.20.0.0/24 to 10.20.7.0/24. On Hub 2, the summary route 10.20.0.0/21 is added to “Private Traffic Prefixes” because it encompasses all eight subnets. Additionally, on Hub 2, the summary route 10.250.0.0/22 is added to “Private Traffic Prefixes.” This covers the Azure VMware Solution management block. Summary routes 10.20.0.0/21 and 10.250.0.0/22 are then advertised down to on-premises via connection “E.” This provides on-premises with a more specific route than 10.0.0.0/8.
There’s no issue in adding the entire Azure VMware Solution Management /22 block under “Private Traffic Prefixes” because Azure VMware Solution doesn’t advertise the exact /22 block back to Azure; it always advertises more specific routes.
As mentioned earlier, when you enable ExpressRoute to ExpressRoute transitivity on the Hub, it sends the default RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to your on-premises network. Therefore, you shouldn’t advertise the exact RFC 1918 prefixes (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) back to Azure. Advertising the same exact routes creates routing problems within Azure. Instead, you should advertise more specific routes back to Azure for your on-premises networks.
Note
If you’re currently advertising the default RFC 1918 addresses from on-premises to Azure and wish to continue this practice, you need to split each RFC 1918 range into two equal sub-ranges and advertise these sub-ranges back to Azure. The sub-ranges are 10.0.0.0/9, 10.128.0.0/9, 172.16.0.0/13, 172.24.0.0/13, 192.168.0.0/17, and 192.168.128.0/17.
The diagram illustrates traffic flows from the perspective of on-premises.
Traffic Flow Chart
Traffic Flow Number
Source
Direction
Destination
Traffic Inspected on Secure Virtual WAN Hub firewall?
2
on-premises
→
Azure VMware Solution Cloud Region 1
Yes, traffic is inspected at the Hub 1 firewall
7
on-premises
→
Azure VMware Solution Cloud Region 2
Yes, traffic is inspected at the Hub 2 firewall
8
on-premises
→
Virtual Network 1
Yes, traffic is inspected at the Hub 1 firewall
9
on-premises
→
Virtual Network 2
Yes, traffic is inspected at the Hub 2 firewall
This section focuses only on connectivity from the Azure Virtual Networks perspective. As depicted in the diagram, each Virtual Network has a Virtual Network peering directly to its regional hub.
The diagram illustrates how all Azure native resources in both Virtual Networks learn routes under their “Effective Routes”. With Routing Intent enabled, Hub 1 and Hub 2 always send the default RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to their peered Virtual Networks. Azure native resources in the Virtual Networks don’t learn specific routes from outside their Virtual Network. With Routing Intent enabled, all resources in the Virtual Network currently learn the default RFC 1918 address and use their regional hub firewall as the next hop. Azure VMware Solution Private Clouds communicate with each other via connection “D” to their local regional hub firewall. From there, they traverse the Virtual WAN inter-hub and undergo inspection at the cross-regional hub firewall. Additionally, Azure VMware Solution private clouds communicate with on-premises via connection “D” over their local regional hub firewall. All traffic ingressing and egressing the Virtual Networks will always transit their regional hub firewalls. For more information, see the traffic flow section.
The diagram illustrates traffic flows from the Azure Virtual Networks perspective.
Traffic Flow Chart
Traffic Flow Number
Source
Direction
Destination
Traffic Inspected on Secure Virtual WAN Hub firewall?
1
Virtual Network 1
→
Azure VMware Solution Cloud Region 1
Yes, traffic is inspected at the Hub 1 firewall
3
Virtual Network 2
→
Azure VMware Solution Cloud Region 1
Yes, traffic is inspected at Hub 2 firewall then Hub firewall 1
5
Virtual Network 1
→
Azure VMware Solution Cloud Region 2
Yes, traffic is inspected at Hub 1 firewall then Hub firewall 2
6
Virtual Network 2
→
Azure VMware Solution Cloud Region 2
Yes, traffic is inspected at the Hub 2 firewall
8
Virtual Network 1
→
On-premises
Yes, traffic is inspected at the Hub 1 firewall
9
Virtual Network 2
→
On-premises
Yes, traffic is inspected at the Hub 2 firewall
10
Virtual Network 1
→
Virtual Network 2
Yes, traffic is inspected at the Hub 1 firewall then Hub 2 firewall
10
Virtual Network 2
→
Virtual Network 1
Yes, traffic is inspected at the Hub 2 firewall then Hub 1 firewall
This section focuses only on how internet connectivity is provided for Azure native resources in Virtual Networks and Azure VMware Solution Private Clouds with dual region. There are several options to provide internet connectivity to Azure VMware Solution. – see Internet Access Concepts for Azure VMware Solution
Option 1: Internet Service hosted in Azure
Option 2: VMware Solution Managed SNAT
Option 3: Azure Public IPv4 address to NSX-T Data Center Edge
Although you can use all three options with Dual Region Secure Virtual WAN with Routing Intent, “Option 1: Internet Service hosted in Azure” is the best option when using Secure Virtual WAN with Routing Intent and is the option that is used to provide internet connectivity in the scenario. The reason why “Option 1” is considered the best option with Secure Virtual WAN is due to its ease of security inspection, deployment, and manageability.
As mentioned earlier, when you enable Routing Intent on both Secure Hubs, it advertises RFC 1918 to all directly peered Virtual Networks. However, you can also advertise a default route 0.0.0.0/0 for internet connectivity to downstream resources. With Routing Intent, you can choose to generate a default route from both hub firewalls. This default route is advertised to its directly peered Virtual Networks and to its directly connected Azure VMware Solution. This section is broken into two sections, one that explains internet connectivity from both regional Azure VMware Solution perspective and another from the Virtual Networks perspective.
When Routing Intent is enabled for internet traffic, the default behavior of the Secure Virtual WAN Hub is to not advertise the default route across ExpressRoute circuits. To ensure the default route is propagated to its directly connected Azure VMware Solution from the Azure Virtual WAN, you must enable default route propagation on your Azure VMware Solution ExpressRoute circuits – see To advertise default route 0.0.0.0/0 to endpoints. Once changes are complete, the default route 0.0.0.0/0 is then advertised via connection “D” from the hub. It’s important to note that this setting shouldn’t be enabled for on-premises ExpressRoute circuits. As a best practice, it’s recommended to implement a BGP Filter on your on-premises equipment. A BGP Filter in place prevents the inadvertent learning of the default route, adds an extra layer of precaution, and ensures that on-premises internet connectivity isn’t impacted.
When you enable Routing Intent for internet access, it automatically generates a default route from both regional hubs and advertises it to their hub-peered Virtual Network connections. You’ll notice under Effective Routes for the Virtual Machines’ NICs in the Virtual Network that the 0.0.0.0/0 next hop is the regional hub firewall. The default route is never advertised across regional hubs over the ‘inter-hub’ link. Therefore, Virtual Networks use their local regional hub for internet access and have no backup internet connectivity to the cross-regional hub.
For more information, see the traffic flow section.
The diagram illustrates traffic flows from the Virtual Networks and Azure VMware Solution Private Clouds perspective.
Traffic Flow Chart
Traffic Flow Number
Source
Direction
Destination
Traffic Inspected on Secure Virtual WAN hub firewall?
11
Azure VMware Solution Cloud Region 1
→
Internet
Yes, traffic is inspected at the Hub 1 firewall
12
Virtual Network 2
→
Internet
Yes, traffic is inspected at the Hub 2 firewall
13
Virtual Network 1
→
Internet
Yes, traffic is inspected at the Hub 1 firewall
14
Azure VMware Solution Cloud Region 2
→
Internet
Yes, traffic is inspected at the Hub 2 firewall
With Azure VMware Solution using the Dual-Region without Global Reach design, you don’t have outbound internet connectivity redundancy because each Azure VMware Solution private cloud learns the default route from both its local regional hub and isn’t directly connected to its cross-regional hub. If a regional outage that impacts the local regional hub, you have two options in order to achieve internet redundancy that are manual configurations.
Option 1: For Outbound Internet Access Only
During a local regional outage, if you need outbound internet access for your Azure VMware Solution workload, you can opt for VMware Solution Managed SNAT. It’s a straightforward solution that quickly provides the access you need. – see Turn on Managed SNAT for Azure VMware Solution workloads
Option 2: For Inbound and Outbound Internet Access
During a local regional outage, if you need both inbound and outbound internet access for your Azure VMware Solution cloud, start by removing the “D” connection for your local regional hub. Remove the Authorization Key created for the “D” connection from the Azure VMware Solution blade in the Azure portal. Then, create a new connection to the cross-regional hub. For handling inbound traffic, consider using Azure Front Door or Traffic Manager to maintain regional high availability.
HCX Mobility Optimized Networking (MON) is an optional feature to enable when using HCX Network Extensions (NE). Mobility Optimized Networking (MON) provides optimal traffic routing under certain scenarios to prevent network tromboning between the on-premises-based and cloud-based resources on extended networks.
Enabling Mobility Optimized Networking (MON) for a specific extended network and a virtual machine changes the traffic flow. For Mobility Optimized Networking (MON), egress traffic from that virtual machine doesn’t trombone back to on-premises. Instead, it bypasses the Network Extensions (NE) IPSEC tunnel. Traffic for that virtual machine will now egress out of the Azure VMware Solution NSX-T Tier-1 Gateway> NSX-T Tier-0 Gateway>Azure Virtual WAN.
Enabling Mobility Optimized Networking (MON) for a specific extended network and a virtual machine results in a change. From Azure VMware Solution NSX-T, it injects a /32 host route back to Azure Virtual WAN. Azure Virtual WAN advertises this /32 route back to on-premises, Virtual Networks, and Branch Networks (S2S VPN, P2S VPN, SDWAN). The purpose of this /32 host route is to ensure that traffic from on-premises, Virtual Networks, and Branch Networks (S2S VPN, P2S VPN, SDWAN) doesn’t use the Network Extensions (NE) IPSEC tunnel when destined for the Mobility Optimized Networking (MON) enabled Virtual Machine. Traffic from source networks is directed straight to the Mobility Optimized Networking (MON) enabled Virtual Machine due to the /32 route that is learned.
With ExpressRoute to ExpressRoute transitivity enabled on the Secure Hub and Routing-Intent enabled, the Secure Hub sends the default RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to both the on-premises and Azure VMware Solution. In addition to the default RFC 1918 addresses, both on-premises and Azure VMware Solution learn more specific routes from Azure Virtual Networks and Branch Networks (S2S VPN, P2S VPN, SDWAN) that are connected to the hub. However, on-premises networks don’t learn any specific routes from the Azure VMware Solution, nor does the reverse occur. Instead, both environments rely on the default RFC 1918 addresses to facilitate routing back to one another via their local regional Hub firewall. This means that more specific routes, such as HCX Mobility Optimized Networking (MON) Host Routes, aren’t advertised from the Azure VMware Solution ExpressRoute to the on-premises-based ExpressRoute circuit and vice-versa. The inability to learn specific routes introduces asymmetric traffic flows. Traffic egresses Azure VMware Solution via the NSX-T Tier-0 gateway, but returning traffic from on-premises returns over the Network Extensions (NE) IPSEC tunnel.
To correct any traffic asymmetry, you need to adjust the HCX Mobility Optimized Networking (MON) Policy Routes. Mobility Optimized Networking (MON) policy routes determine which traffic goes back to the on-premises Gateway via an L2 extension. They also decide which traffic is routed through the Azure VMware Solution NSX Tier-0 Gateway.
If a destination IP matches and is set to “allow” in the Mobility Optimized Networking (MON) policy configuration, then two actions occur. First, the packet is identified. Second, its sent to the on-premises gateway through the HCX Network Extension appliance.
If a destination IP doesn’t match or is set to “deny” in the Mobility Optimized Networking (MON) policy, the system sends the packet to the Azure VMware Solution Tier-0 for routing.
HCX Policy Routes
Network
Redirect to Peer
Note
Azure Virtual Network Address Space
Deny
Please ensure to explicitly include the address ranges for all your Virtual Networks. Traffic intended for Azure is directed out via the Azure VMware Solution and doesn’t return to the on-premises network.
Default RFC 1918 Address Spaces
Allow
Add in the default RFC 1918 addresses 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. This configuration ensures that any traffic not matching the above criteria is rerouted back to the on-premises network. If your on-premises setup utilizes addresses that aren’t part of RFC 1918, you must explicitly include those ranges.
0.0.0.0/0
Deny
For addresses that aren’t covered by RFC 1918, such as Internet-routable IPs, or any traffic that doesn’t match the specified entries above, exits directly through the Azure VMware Solution and isn’t redirected back to the on-premises network.
For more information on Virtual WAN hub configuration, see About virtual hub settings.
For more information on how to configure Azure Firewall in a Virtual Hub, see Configure Azure Firewall in a Virtual WAN hub.
For more information on how to configure the Palo Alto Next Generation SAAS firewall on Virtual WAN, see Configure Palo Alto Networks Cloud NGFW in Virtual WAN.
For more information on Virtual WAN hub routing intent configuration, see Configure routing intent and policies through Virtual WAN portal.
Microsoft Tech Community – Latest Blogs –Read More
Change Input Force to Input Displacement ODE Solver
I have the following ODE solution:
N = 100;
m = 0.1*ones(N,1);
c = 0.1;
b = 0.1;
k = 4;
gamma = 0.1;
X0 = zeros(2*N, 1);
dt = 0.91; % [s]
scale = 0.0049/2;
epsilon = 0.5; % [m]
escale = 10^-2;
rd = 1;
f = @(t,rd) rd.*scale.*square(t) + epsilon.*escale; % [N]
fun = @(t, X) odefun(t, rd, X, N, marray(m), make_diagonal(X,c,b,N),…
make_diagonal(X, k, gamma, N),f);
tspan_train = [0:dt:100];
[t, X] = ode45(fun, tspan_train, X0);
function dX = odefun(t, rd, X, N, M, C, K, f)
%% Definitions
x = X(1:N); % position state vector
dx = X(N+1:2*N); % velocity state vector
%% Force vector
f_reservoir = f(t,rd);
F = [f_reservoir; zeros(98,1); f_reservoir];
%% Equations of Motion
ddx = M(F – K*x – C*dx);
%% State-space model
dX = [dx; …
ddx];
end
function out = make_diagonal(x, k, gamma, N)
x = x(:);
x = [x(1:N); 0];
ck = circshift(k, -1);
cg = circshift(gamma, -1);
cx = circshift(x, -1);
ccx = circshift(x, 1);
d1 = -3 .* ck .* cg .* cx .^ 2 – ck;
d2 = (k .* gamma + ck .* cg) .* x .^ 2 + k + ck;
d3 = -3 .* k .* ccx .^ 2 – k;
out = full(spdiags([d1 d2 d3], -1:1, N, N));
end
function M = marray(m)
M = diag(m);
end
I would like to change my input force f in Newtons to an input displacement in meters. How do I do this?I have the following ODE solution:
N = 100;
m = 0.1*ones(N,1);
c = 0.1;
b = 0.1;
k = 4;
gamma = 0.1;
X0 = zeros(2*N, 1);
dt = 0.91; % [s]
scale = 0.0049/2;
epsilon = 0.5; % [m]
escale = 10^-2;
rd = 1;
f = @(t,rd) rd.*scale.*square(t) + epsilon.*escale; % [N]
fun = @(t, X) odefun(t, rd, X, N, marray(m), make_diagonal(X,c,b,N),…
make_diagonal(X, k, gamma, N),f);
tspan_train = [0:dt:100];
[t, X] = ode45(fun, tspan_train, X0);
function dX = odefun(t, rd, X, N, M, C, K, f)
%% Definitions
x = X(1:N); % position state vector
dx = X(N+1:2*N); % velocity state vector
%% Force vector
f_reservoir = f(t,rd);
F = [f_reservoir; zeros(98,1); f_reservoir];
%% Equations of Motion
ddx = M(F – K*x – C*dx);
%% State-space model
dX = [dx; …
ddx];
end
function out = make_diagonal(x, k, gamma, N)
x = x(:);
x = [x(1:N); 0];
ck = circshift(k, -1);
cg = circshift(gamma, -1);
cx = circshift(x, -1);
ccx = circshift(x, 1);
d1 = -3 .* ck .* cg .* cx .^ 2 – ck;
d2 = (k .* gamma + ck .* cg) .* x .^ 2 + k + ck;
d3 = -3 .* k .* ccx .^ 2 – k;
out = full(spdiags([d1 d2 d3], -1:1, N, N));
end
function M = marray(m)
M = diag(m);
end
I would like to change my input force f in Newtons to an input displacement in meters. How do I do this? I have the following ODE solution:
N = 100;
m = 0.1*ones(N,1);
c = 0.1;
b = 0.1;
k = 4;
gamma = 0.1;
X0 = zeros(2*N, 1);
dt = 0.91; % [s]
scale = 0.0049/2;
epsilon = 0.5; % [m]
escale = 10^-2;
rd = 1;
f = @(t,rd) rd.*scale.*square(t) + epsilon.*escale; % [N]
fun = @(t, X) odefun(t, rd, X, N, marray(m), make_diagonal(X,c,b,N),…
make_diagonal(X, k, gamma, N),f);
tspan_train = [0:dt:100];
[t, X] = ode45(fun, tspan_train, X0);
function dX = odefun(t, rd, X, N, M, C, K, f)
%% Definitions
x = X(1:N); % position state vector
dx = X(N+1:2*N); % velocity state vector
%% Force vector
f_reservoir = f(t,rd);
F = [f_reservoir; zeros(98,1); f_reservoir];
%% Equations of Motion
ddx = M(F – K*x – C*dx);
%% State-space model
dX = [dx; …
ddx];
end
function out = make_diagonal(x, k, gamma, N)
x = x(:);
x = [x(1:N); 0];
ck = circshift(k, -1);
cg = circshift(gamma, -1);
cx = circshift(x, -1);
ccx = circshift(x, 1);
d1 = -3 .* ck .* cg .* cx .^ 2 – ck;
d2 = (k .* gamma + ck .* cg) .* x .^ 2 + k + ck;
d3 = -3 .* k .* ccx .^ 2 – k;
out = full(spdiags([d1 d2 d3], -1:1, N, N));
end
function M = marray(m)
M = diag(m);
end
I would like to change my input force f in Newtons to an input displacement in meters. How do I do this? ode, ode45, model, solve, fsolve, function MATLAB Answers — New Questions
Prepare an MATLAB code based on Newmark Beta Algorithm problem
The problem is attached herewith along with needed text file.The problem is attached herewith along with needed text file. The problem is attached herewith along with needed text file. newmark beta, mode shapes, time history analysis MATLAB Answers — New Questions
Lock/Unlock All Tabs
I have the macro below to lock/unlock all of the tabs at 1 time. How do I add a line to use ALT+L to lock and ALT+U to unlock?
Sub ProtectAll()
Dim wsh As Worksheet
For Each wsh In Worksheets
wsh.Protect Password:=”1020″
Next wsh
End Sub
Sub UnprotectAll()
Dim wsh As Worksheet
For Each wsh In Worksheets
wsh.Unprotect Password:=”1020″
Next wsh
End Sub
I have the macro below to lock/unlock all of the tabs at 1 time. How do I add a line to use ALT+L to lock and ALT+U to unlock? Sub ProtectAll()Dim wsh As WorksheetFor Each wsh In Worksheetswsh.Protect Password:=”1020″Next wshEnd SubSub UnprotectAll()Dim wsh As WorksheetFor Each wsh In Worksheetswsh.Unprotect Password:=”1020″Next wshEnd Sub Read More
Database and microsoft entra id
How can I still use Microsoft entra id but I still want to query my user information using my database (mongodb), should I synchronize both? Is there any other better solution? Thank
How can I still use Microsoft entra id but I still want to query my user information using my database (mongodb), should I synchronize both? Is there any other better solution? Thank Read More
Quick-Books keeps asking to update issue – How to fix it?
Why does Quick-Books keep asking to update every time I open it, and how can I resolve this issue?
Why does Quick-Books keep asking to update every time I open it, and how can I resolve this issue? Read More
Resolve Quick-Books Error PS038 – Can’t Run or Update Pay-roll after update?
Experiencing Quick-Books Error PS038 while trying to update pay-roll. How can I resolve this issue? I’ve already tried restarting the software and updating it to the latest version.
Experiencing Quick-Books Error PS038 while trying to update pay-roll. How can I resolve this issue? I’ve already tried restarting the software and updating it to the latest version. Read More
Power configuration on dedicated device kiosk mode android enterprise
Good morning, in my project there will be a tablet that will be configured for kiosk mode, and it must turn on the tablet when
it receives power and turn it off when it does not receive power. Is there a way to do this? Because if the tablet does not
turn off by itself when it stops receiving power, it will spend the night on, and will have no power to turn on later.
I await a response.
Good morning, in my project there will be a tablet that will be configured for kiosk mode, and it must turn on the tablet whenit receives power and turn it off when it does not receive power. Is there a way to do this? Because if the tablet does notturn off by itself when it stops receiving power, it will spend the night on, and will have no power to turn on later.I await a response. Read More
Why is my New teams jumping to a different chat other then the in?
When I’m in a MS Teams chat with someone, it just jumps to another chat without notice. It happens when I’m not clicking on anything.
I have uninstalled old teams, renamed the new teams folder:
C:Usersuser.nameAppDataLocalPackagesMSTeams_8wekyb3d8bbwe.old
i have uninstalled the new teams and reinstalled.
i am still having this issue
Version
Teams 24137.2216.2931.2440
Client version 49/24050307617
When I’m in a MS Teams chat with someone, it just jumps to another chat without notice. It happens when I’m not clicking on anything.I have uninstalled old teams, renamed the new teams folder:C:Usersuser.nameAppDataLocalPackagesMSTeams_8wekyb3d8bbwe.oldi have uninstalled the new teams and reinstalled. i am still having this issueVersionTeams 24137.2216.2931.2440Client version 49/24050307617 Read More
Always send internal emails to external
Hi,
we are a small nonprofit multi-generation house and have been granted several accounts from microsoft incl. the exchange cloud server. We have an external email server and forward incoming emails of several employees to the exchange server. These employees work with the O365 account and send emails from the O365 account.
This setup generally works but we have some issues with employees / volunteers who also use the external email server. The issue is that internal emails which are sent from the O365 account are only delivered “exchange internally”. I.e. these emails do not reach the external mail server.
What I would like to acchieve now is that all emails that are sent from the O365 accounts are routed externally, so these (incl. the internal emails) are hitting the external mail server (and then are forwarded again to the O365 accounts).
Possible? If so, how? 🙂
The obvious solution, moving all accounts to the exchange server is not possible as we have only 10 free licences from microsoft but about 20 volunters who use our email system. Its for us not financially feasible to buy more accounts. Hence the “Hybrid” setup.
Thank you so much for any helpful comments.
Hi, we are a small nonprofit multi-generation house and have been granted several accounts from microsoft incl. the exchange cloud server. We have an external email server and forward incoming emails of several employees to the exchange server. These employees work with the O365 account and send emails from the O365 account. This setup generally works but we have some issues with employees / volunteers who also use the external email server. The issue is that internal emails which are sent from the O365 account are only delivered “exchange internally”. I.e. these emails do not reach the external mail server. What I would like to acchieve now is that all emails that are sent from the O365 accounts are routed externally, so these (incl. the internal emails) are hitting the external mail server (and then are forwarded again to the O365 accounts). Possible? If so, how? 🙂 The obvious solution, moving all accounts to the exchange server is not possible as we have only 10 free licences from microsoft but about 20 volunters who use our email system. Its for us not financially feasible to buy more accounts. Hence the “Hybrid” setup. Thank you so much for any helpful comments. Read More
Copilot and Outlook
It seems that my Outlook is not properly connected with my Copilot. When I ask questions about my emails or my calendar, I am given false information and if I ask specific questions – like “list emails from a specific person” it cannot find any. I asked copilot to respond to an email by looking up available time slots in my calendar and it gave me open time slots in the previous week or it gave time slots in which I already had meetings scheduled.
It seems that my Outlook is not properly connected with my Copilot. When I ask questions about my emails or my calendar, I am given false information and if I ask specific questions – like “list emails from a specific person” it cannot find any. I asked copilot to respond to an email by looking up available time slots in my calendar and it gave me open time slots in the previous week or it gave time slots in which I already had meetings scheduled. Read More
How to Generate and Use the Reconciliation Discrepancy Report in Q.B Desktop
I’m having trouble reconciling my accounts in Q.B Desktop and need to find the source of discrepancies. Can someone guide me on how to generate and use the Reconciliation Discrepancy Report in Q.B Desktop? I need detailed steps to identify and resolve the issues affecting my account balances.
I’m having trouble reconciling my accounts in Q.B Desktop and need to find the source of discrepancies. Can someone guide me on how to generate and use the Reconciliation Discrepancy Report in Q.B Desktop? I need detailed steps to identify and resolve the issues affecting my account balances. Read More
Keytos and Modern Requirements offer transactable partner solutions in Azure Marketplace
Microsoft partners like Keytos and Modern Requirements deliver transact-capable offers, which allow you to purchase directly from Azure Marketplace. Learn about these offers below:
EZRADIUS: Run and scale your own RADIUS server without complex infrastructure using EZRADIUS from Keytos. This cloud-based service integrates with Microsoft Entra ID and Intune, automating machine identity management through more secure, passwordless methods.
Modern Requirements4DevOps: Author, eliminate, trace, and define requirements in Microsoft Azure DevOps with this solution from Modern Requirements. MR4DevOps seamlessly integrates with Microsoft Azure so stakeholders and teammates can collaborate in the same space.
Copilot4DevOps Plus: This tool from Modern Requirements uses native Microsoft Azure generative AI to execute monotonous DevOps tasks so you can focus on making better, more timely decisions. Reduce manual workload, save time, cut costs, enhance accuracy, simplify complex processes, and bolster decision making
Microsoft Tech Community – Latest Blogs –Read More
How to model a Phase Change Stefan problem with Simscape?
I am trying to model a Phase Change Material with Stefan problem (attached in "PCM_1D Stefan problem.png" file) using Simscape library.
I assumed two thermal mass blocks (for the liquid and solid phase respectively) and conductive heat transfer to describe the phase change problem, as depicted in the scheme below. Particularly, I don’t understand how to change from mass parameter to density parameter in the thermal mass block (because from my input data I only have the material density) and how to specify the initial and boundary conditions in "PCM_model.slx"?
Thanks in advance if someone could help me.
Input data for the PCM:
rho = 1370; % density [kg/m^3]
k_s = 0.830; % thermal conductivity solid phase [W/(m K)]
k_l = 0.660; % thermal conductivity liquid phase[W/(m K)]
cp_s = 1.69; % specific heat capacity solid phase [kJ/(kg K)]
cp_l = 1.96; % specific heat capacity liquid phase [kJ/(kg K)]
L = 227; % latent heat of the phase change [kJ/kg]
T_melt = 115+273; % melting temperature of the PCM [K]
alpha_s = k_s/(rho*cp_s); % thermal diffusivity solid phase [m^2/s]
alpha_l = k_l/(rho*cp_l); % thermal diffusivity liquid phase [m^2/s]
R_pcm = 0.05; % PCM radius [m] (supposed)
T_0 = -10+273; % initial temperature of the PCM [K]
Input data for the IMD (geometrical properties):
D_imd = 254*(10^-3); % diamiter [m]
h_imd = 186*(10^-3); % height [m]
T_wall = 135+273; % Temperature of the stator external surface [K]I am trying to model a Phase Change Material with Stefan problem (attached in "PCM_1D Stefan problem.png" file) using Simscape library.
I assumed two thermal mass blocks (for the liquid and solid phase respectively) and conductive heat transfer to describe the phase change problem, as depicted in the scheme below. Particularly, I don’t understand how to change from mass parameter to density parameter in the thermal mass block (because from my input data I only have the material density) and how to specify the initial and boundary conditions in "PCM_model.slx"?
Thanks in advance if someone could help me.
Input data for the PCM:
rho = 1370; % density [kg/m^3]
k_s = 0.830; % thermal conductivity solid phase [W/(m K)]
k_l = 0.660; % thermal conductivity liquid phase[W/(m K)]
cp_s = 1.69; % specific heat capacity solid phase [kJ/(kg K)]
cp_l = 1.96; % specific heat capacity liquid phase [kJ/(kg K)]
L = 227; % latent heat of the phase change [kJ/kg]
T_melt = 115+273; % melting temperature of the PCM [K]
alpha_s = k_s/(rho*cp_s); % thermal diffusivity solid phase [m^2/s]
alpha_l = k_l/(rho*cp_l); % thermal diffusivity liquid phase [m^2/s]
R_pcm = 0.05; % PCM radius [m] (supposed)
T_0 = -10+273; % initial temperature of the PCM [K]
Input data for the IMD (geometrical properties):
D_imd = 254*(10^-3); % diamiter [m]
h_imd = 186*(10^-3); % height [m]
T_wall = 135+273; % Temperature of the stator external surface [K] I am trying to model a Phase Change Material with Stefan problem (attached in "PCM_1D Stefan problem.png" file) using Simscape library.
I assumed two thermal mass blocks (for the liquid and solid phase respectively) and conductive heat transfer to describe the phase change problem, as depicted in the scheme below. Particularly, I don’t understand how to change from mass parameter to density parameter in the thermal mass block (because from my input data I only have the material density) and how to specify the initial and boundary conditions in "PCM_model.slx"?
Thanks in advance if someone could help me.
Input data for the PCM:
rho = 1370; % density [kg/m^3]
k_s = 0.830; % thermal conductivity solid phase [W/(m K)]
k_l = 0.660; % thermal conductivity liquid phase[W/(m K)]
cp_s = 1.69; % specific heat capacity solid phase [kJ/(kg K)]
cp_l = 1.96; % specific heat capacity liquid phase [kJ/(kg K)]
L = 227; % latent heat of the phase change [kJ/kg]
T_melt = 115+273; % melting temperature of the PCM [K]
alpha_s = k_s/(rho*cp_s); % thermal diffusivity solid phase [m^2/s]
alpha_l = k_l/(rho*cp_l); % thermal diffusivity liquid phase [m^2/s]
R_pcm = 0.05; % PCM radius [m] (supposed)
T_0 = -10+273; % initial temperature of the PCM [K]
Input data for the IMD (geometrical properties):
D_imd = 254*(10^-3); % diamiter [m]
h_imd = 186*(10^-3); % height [m]
T_wall = 135+273; % Temperature of the stator external surface [K] simscape, matlab, phase change, heat transfer, stefan problem MATLAB Answers — New Questions
Can I create a slmx file separated from the model-slmx file to save only links between requirements and Test Assessments steps?
Hello,
I am working on a Harness that test a Simulink model. The harness was saved externally and also the requirement links are stored externally.
However, when creating the "Related To" links between the requirements and steps inside the Test Assessment block, links are saved in the same slmx file than the links to model itself ("Model.slmx"). Is it possible to change this configuration to create a separated slmx file that contains only the links between Harness and requirements (something like Harness.slmx)?
Many thanks in advance for the support.Hello,
I am working on a Harness that test a Simulink model. The harness was saved externally and also the requirement links are stored externally.
However, when creating the "Related To" links between the requirements and steps inside the Test Assessment block, links are saved in the same slmx file than the links to model itself ("Model.slmx"). Is it possible to change this configuration to create a separated slmx file that contains only the links between Harness and requirements (something like Harness.slmx)?
Many thanks in advance for the support. Hello,
I am working on a Harness that test a Simulink model. The harness was saved externally and also the requirement links are stored externally.
However, when creating the "Related To" links between the requirements and steps inside the Test Assessment block, links are saved in the same slmx file than the links to model itself ("Model.slmx"). Is it possible to change this configuration to create a separated slmx file that contains only the links between Harness and requirements (something like Harness.slmx)?
Many thanks in advance for the support. simulink test, requirements link, slmx file, test assessment MATLAB Answers — New Questions
Boundaries in an image
Hi,
I have to trace the boundaries in the image (attached original image).
I have to trace only one boundary as indicated in the image.
I tried this for only one image, how can I do this for number of images?
Waiting for a kind response.
Regards
Tayyaba
grayImage = imread(‘0002.tif’);
[rows, columns, numberOfColorChannels] = size(grayImage);
if numberOfColorChannels > 1
grayImage = rgb2gray(grayImage);
end
% Display the image.
subplot(2, 3, 1);
imshow(grayImage, []);
title(‘Original Grayscale Image’);
impixelinfo;
% Crop image
% grayImage = imcrop(grayImage);
Img = imcrop(grayImage,[670 60 800 500]);
% Update size.
[rows, columns, numberOfColorChannels] = size(Img);
%——————————————————————————————————–
% SEGMENTATION OF IMAGE
% Get a binary image
mask = Img < 22; %imbinarize(grayImage);
% Display the mask.
subplot(2, 3, 4);
imshow(mask, []);
impixelinfo;
title(‘Initial Binary Image’);
impixelinfo;
% Fill interior holes.
mask = imfill(mask, ‘holes’);
% Get rid of particles smaller than 10000 in size
mask = bwareaopen(mask,10000);
subplot(2, 3, 5);
imshow(mask, []);
impixelinfo;
title(‘Final Binary Image’);
impixelinfo;
% Get boundaries
boundaries = bwboundaries(mask);
subplot(2, 3, 6);
imshow(grayImage); % Show cropped image again.
hold on;
for k = 1 : length(boundaries)
thisBoundary = boundaries{k};
x = thisBoundary(:, 2);
y = thisBoundary(:, 1);
plot(x, y, ‘r-‘, ‘LineWidth’, 2);
end
%Specifing limits to get rid of the outer boundary
xlim([5 500]);
ylim([5 500]);
title(‘Image With Boundaries’);Hi,
I have to trace the boundaries in the image (attached original image).
I have to trace only one boundary as indicated in the image.
I tried this for only one image, how can I do this for number of images?
Waiting for a kind response.
Regards
Tayyaba
grayImage = imread(‘0002.tif’);
[rows, columns, numberOfColorChannels] = size(grayImage);
if numberOfColorChannels > 1
grayImage = rgb2gray(grayImage);
end
% Display the image.
subplot(2, 3, 1);
imshow(grayImage, []);
title(‘Original Grayscale Image’);
impixelinfo;
% Crop image
% grayImage = imcrop(grayImage);
Img = imcrop(grayImage,[670 60 800 500]);
% Update size.
[rows, columns, numberOfColorChannels] = size(Img);
%——————————————————————————————————–
% SEGMENTATION OF IMAGE
% Get a binary image
mask = Img < 22; %imbinarize(grayImage);
% Display the mask.
subplot(2, 3, 4);
imshow(mask, []);
impixelinfo;
title(‘Initial Binary Image’);
impixelinfo;
% Fill interior holes.
mask = imfill(mask, ‘holes’);
% Get rid of particles smaller than 10000 in size
mask = bwareaopen(mask,10000);
subplot(2, 3, 5);
imshow(mask, []);
impixelinfo;
title(‘Final Binary Image’);
impixelinfo;
% Get boundaries
boundaries = bwboundaries(mask);
subplot(2, 3, 6);
imshow(grayImage); % Show cropped image again.
hold on;
for k = 1 : length(boundaries)
thisBoundary = boundaries{k};
x = thisBoundary(:, 2);
y = thisBoundary(:, 1);
plot(x, y, ‘r-‘, ‘LineWidth’, 2);
end
%Specifing limits to get rid of the outer boundary
xlim([5 500]);
ylim([5 500]);
title(‘Image With Boundaries’); Hi,
I have to trace the boundaries in the image (attached original image).
I have to trace only one boundary as indicated in the image.
I tried this for only one image, how can I do this for number of images?
Waiting for a kind response.
Regards
Tayyaba
grayImage = imread(‘0002.tif’);
[rows, columns, numberOfColorChannels] = size(grayImage);
if numberOfColorChannels > 1
grayImage = rgb2gray(grayImage);
end
% Display the image.
subplot(2, 3, 1);
imshow(grayImage, []);
title(‘Original Grayscale Image’);
impixelinfo;
% Crop image
% grayImage = imcrop(grayImage);
Img = imcrop(grayImage,[670 60 800 500]);
% Update size.
[rows, columns, numberOfColorChannels] = size(Img);
%——————————————————————————————————–
% SEGMENTATION OF IMAGE
% Get a binary image
mask = Img < 22; %imbinarize(grayImage);
% Display the mask.
subplot(2, 3, 4);
imshow(mask, []);
impixelinfo;
title(‘Initial Binary Image’);
impixelinfo;
% Fill interior holes.
mask = imfill(mask, ‘holes’);
% Get rid of particles smaller than 10000 in size
mask = bwareaopen(mask,10000);
subplot(2, 3, 5);
imshow(mask, []);
impixelinfo;
title(‘Final Binary Image’);
impixelinfo;
% Get boundaries
boundaries = bwboundaries(mask);
subplot(2, 3, 6);
imshow(grayImage); % Show cropped image again.
hold on;
for k = 1 : length(boundaries)
thisBoundary = boundaries{k};
x = thisBoundary(:, 2);
y = thisBoundary(:, 1);
plot(x, y, ‘r-‘, ‘LineWidth’, 2);
end
%Specifing limits to get rid of the outer boundary
xlim([5 500]);
ylim([5 500]);
title(‘Image With Boundaries’); image processing, faq, process a sequence of files MATLAB Answers — New Questions