You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connectedk8s/azext_connectedk8s/_constants.py
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -454,6 +454,13 @@
454
454
"Failed to save cluster diagnostic checks job log"
455
455
)
456
456
457
+
Manual_Custom_Location_Oid_Warning="""Important! Custom Location feature enablement can't be validated when using a manually provided OID. If the custom location feature is not enabled, you may encounter an error when creating the custom location.
458
+
After creating the custom location, run `az customlocation show` and check that ProvisioningState is Succeeded. If ProvisoningState is Failed, then re-try this command with a valid custom location OID to enable the feature.
459
+
For guidance, refer to: https://aka.ms/enable-customlocation"""
460
+
461
+
Custom_Location_Enable_Failed_warning="""Important! Custom Location feature wasn't enabled due to insufficient privileges on the Service Principal Name. If the custom location feature is not enabled, you will encounter an error when creating the custom location. Refer to: https://aka.ms/enable-cl-spn"""
f"Step: {utils.get_utctimestring()}: Checking Microsoft.ExtendedLocation RP Registration state for this Subscription, and get OID, "
3826
-
"if registered "
3822
+
f"Step: {utils.get_utctimestring()}: Checking Custom Location(Microsoft.ExtendedLocation) RP Registration state for this Subscription, and attempt to get the Custom Location Object ID (OID),if registered"
"Unable to fetch registration state of 'Microsoft.ExtendedLocation'. Failed to enable "
3851
-
"'custom-locations' feature. This is fine if not required. Proceeding with helm install."
3846
+
"The custom location feature was not enabled because the custom location OID could not be retrieved. Please refer to: https://aka.ms/enable-customlocation "
# Encountered exeption while fetching OID, log error
3903
-
log_string="Unable to fetch the Object ID of the Azure AD application used by Azure Arc service. "
3899
+
log_string="Unable to fetch the Custom Location OID with permissions set on this account. The account does not have sufficient permissions to fetch or validate the OID."
0 commit comments