Skip to content

Commit aa2d99f

Browse files
authored
Only add role assigned subscription to auth file (#3649)
1 parent d956095 commit aa2d99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utils/azuretools-core/src/com/microsoft/azuretools/authmanage/srvpri/SrvPriManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public void write(String str) throws IOException {
197197
// set the properties value
198198
prop.setProperty("tenant", CommonParams.getTenantId());
199199
int i = 0;
200-
for (String subscriptionId : CommonParams.getSubscriptionIdList()) {
200+
for (String subscriptionId : CommonParams.getResultSubscriptionIdList()) {
201201
if (i==0) {
202202
prop.setProperty("subscription", subscriptionId);
203203
} else {

0 commit comments

Comments
 (0)